summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Tests/CMakeLists.txt1
-rw-r--r--Tests/LibC/CMakeLists.txt2
-rw-r--r--Tests/LibC/TestMath.cpp (renamed from Tests/LibM/test-math.cpp)0
-rw-r--r--Tests/LibM/CMakeLists.txt8
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()