diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2026-01-09 02:16:39 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2026-01-09 02:16:39 +0100 |
| commit | 693dd621321e3af029d2c8cc8d58af716eb43988 (patch) | |
| tree | 02d12821dd1a1288e35c98252909dd9cafc9e4ce /test/test_01_codegen/codegen.test.cc | |
| parent | f8f2153b6b859dee35192f237d292e75c0a4cd76 (diff) | |
feat: necfront: final refactors and improvements before finishing Netcar implementation.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'test/test_01_codegen/codegen.test.cc')
| -rw-r--r-- | test/test_01_codegen/codegen.test.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/test_01_codegen/codegen.test.cc b/test/test_01_codegen/codegen.test.cc index 3cee6fb..5115a9b 100644 --- a/test/test_01_codegen/codegen.test.cc +++ b/test/test_01_codegen/codegen.test.cc @@ -10,19 +10,19 @@ TEST(CodegenTest, BasicCodegenTestGrep) { // Compile C++ source to assembly - auto compile_result = std::system("pef-amd64-cxxdrv ../test_samples/sample.cc > /dev/null 2>&1"); + auto compile_result = std::system("pef-amd64-cxxdrv ../test_samples/sample.ncpp > /dev/null 2>&1"); EXPECT_TRUE(compile_result == 0) << "C++ compiler driver failed to compile sample.cc"; // Grep for expected entry point symbol in generated assembly - auto grep_main = std::system("grep -q '__NECTI_main' ../test_samples/sample.cc.pp.masm"); - EXPECT_TRUE(grep_main == 0) << "Generated assembly missing expected entry point __NECTI_main"; + auto grep_main = std::system("grep -q '__NECTI_main' ../test_samples/sample.ncpp.masm"); + EXPECT_TRUE(grep_main == 0) << "Generated assembly missing expected entry point __NECTAR_main"; // Grep for return instruction - auto grep_ret = std::system("grep -q 'ret' ../test_samples/sample.cc.pp.masm"); + auto grep_ret = std::system("grep -q 'ret' ../test_samples/sample.ncpp.masm"); EXPECT_TRUE(grep_ret == 0) << "Generated assembly missing return instruction"; // Grep for 64-bit mode directive - auto grep_bits64 = std::system("grep -q '%bits 64' ../test_samples/sample.cc.pp.masm"); + auto grep_bits64 = std::system("grep -q '%bits 64' ../test_samples/sample.ncpp.masm"); EXPECT_TRUE(grep_bits64 == 0) << "Generated assembly missing 64-bit mode directive"; } |
