From abcb4e618287d1998e15bf42460d908cf51f994d Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Sun, 21 Dec 2025 15:27:44 +0100 Subject: chore: refactor codebase with our testing naming format. Signed-off-by: Amlal El Mahrouss --- test/test_01_codegen/codegen.test.cc | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 test/test_01_codegen/codegen.test.cc (limited to 'test/test_01_codegen/codegen.test.cc') diff --git a/test/test_01_codegen/codegen.test.cc b/test/test_01_codegen/codegen.test.cc new file mode 100644 index 0000000..06c8e25 --- /dev/null +++ b/test/test_01_codegen/codegen.test.cc @@ -0,0 +1,15 @@ +/* ======================================== + + Copyright (C) 2024-2025 Amlal El Mahrouss, licensed under the Apache 2.0 license. + + ======================================== */ + +/// @brief Codegen Unit test, from the C++ unit to the final executable. +/// @author Amlal El Mahrouss + +#include + +TEST(CodegenTest, BasicCodegenTest) { + auto expr = std::system("asm -asm-x64 test_samples/sample.asm"); + EXPECT_TRUE(expr == 0) << "ASM Driver did not compile the easy ASM unit."; +} -- cgit v1.2.3