diff options
author | Tim Schumacher <timschumi@gmx.de> | 2022-09-06 00:54:40 +0200 |
---|---|---|
committer | Brian Gianforcaro <b.gianfo@gmail.com> | 2022-09-16 16:09:19 +0000 |
commit | bbcdd0dca034e6fb494d6c98f8e98bc7ba2f0d42 (patch) | |
tree | a26130f036818d4d21c5c16619bf316ff1b6c9b2 | |
parent | 81d46fa1005788726ff83bf7b43093dbe3924d1f (diff) | |
download | serenity-bbcdd0dca034e6fb494d6c98f8e98bc7ba2f0d42.zip |
Tests: Move the former LibM test into the LibC namespace
-rw-r--r-- | Tests/CMakeLists.txt | 1 | ||||
-rw-r--r-- | Tests/LibC/CMakeLists.txt | 2 | ||||
-rw-r--r-- | Tests/LibC/TestMath.cpp (renamed from Tests/LibM/test-math.cpp) | 0 | ||||
-rw-r--r-- | Tests/LibM/CMakeLists.txt | 8 |
4 files changed, 2 insertions, 9 deletions
diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt index 03829c78d3..4c60bfbbf8 100644 --- a/Tests/CMakeLists.txt +++ b/Tests/CMakeLists.txt @@ -12,7 +12,6 @@ add_subdirectory(LibGL) add_subdirectory(LibIMAP) add_subdirectory(LibJS) add_subdirectory(LibLocale) -add_subdirectory(LibM) add_subdirectory(LibMarkdown) add_subdirectory(LibPDF) add_subdirectory(LibRegex) diff --git a/Tests/LibC/CMakeLists.txt b/Tests/LibC/CMakeLists.txt index 28c27e9892..b82b612158 100644 --- a/Tests/LibC/CMakeLists.txt +++ b/Tests/LibC/CMakeLists.txt @@ -11,6 +11,7 @@ set(TEST_SOURCES TestLibCString.cpp TestLibCTime.cpp TestMalloc.cpp + TestMath.cpp TestMemalign.cpp TestMemmem.cpp TestMkDir.cpp @@ -32,6 +33,7 @@ set(TEST_SOURCES TestWctype.cpp ) +set_source_files_properties(TestMath.cpp PROPERTIES COMPILE_FLAGS "-fno-builtin") set_source_files_properties(TestStrtodAccuracy.cpp PROPERTIES COMPILE_FLAGS "-fno-builtin-strtod") foreach(source IN LISTS TEST_SOURCES) diff --git a/Tests/LibM/test-math.cpp b/Tests/LibC/TestMath.cpp index 6898cbc7d0..6898cbc7d0 100644 --- a/Tests/LibM/test-math.cpp +++ b/Tests/LibC/TestMath.cpp diff --git a/Tests/LibM/CMakeLists.txt b/Tests/LibM/CMakeLists.txt deleted file mode 100644 index 7b1c78178d..0000000000 --- a/Tests/LibM/CMakeLists.txt +++ /dev/null @@ -1,8 +0,0 @@ -set(TEST_SOURCES - test-math.cpp -) -add_compile_options(-fno-builtin) - -foreach(source IN LISTS TEST_SOURCES) - serenity_test("${source}" LibM) -endforeach() |