diff options
Diffstat (limited to 'tests/test_02_linker/linker_test.cc')
| -rw-r--r-- | tests/test_02_linker/linker_test.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/test_02_linker/linker_test.cc b/tests/test_02_linker/linker_test.cc index 3c18fe0..617327f 100644 --- a/tests/test_02_linker/linker_test.cc +++ b/tests/test_02_linker/linker_test.cc @@ -1,6 +1,6 @@ /* ======================================== - Copyright (C) 2024-2025 Amlal El Mahrouss, Licensed under the Apache 2.0 license + Copyright (C) 2024-2025 Amlal El Mahrouss, licensed under the Apache 2.0 license. ======================================== */ @@ -9,21 +9,21 @@ #include <gtest/gtest.h> -/// c++ -TEST(LinkerTest, BasicLinkTest) { +/// compile +TEST(LinkerTest, BasicLinkTestCompile) { auto expr = std::system("pef-amd64-cxxdrv test_samples/sample.cc"); EXPECT_TRUE(expr == 0) << "C++ Driver did not compile the easy C++ unit."; } /// assemble -TEST(LinkerTest, BasicLinkTest2) { +TEST(LinkerTest, BasicLinkTestAssemble) { auto expr = std::system("asm -asm:x64 test_samples/sample.cc.pp.masm"); EXPECT_TRUE(expr == 0) << "Assembler did not assemble the easy asm unit."; } /// link -TEST(LinkerTest, BasicLinkTest3) { +TEST(LinkerTest, BasicLinkTestLink) { auto expr = std::system( - "ld64 -amd64 test_samples/sample.cc.pp.obj -start __NECTI_main -output main.exec"); + "ld64 -amd64 test_samples/sample.cc.pp.obj -start __NECTAR_main -output main.exec"); EXPECT_TRUE(expr == 0) << "Linker did not link the easy object."; } |
