mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 19:27:45 +00:00
Tests: Move the former LibM test into the LibC namespace
This commit is contained in:
parent
81d46fa100
commit
bbcdd0dca0
4 changed files with 2 additions and 9 deletions
|
@ -12,7 +12,6 @@ add_subdirectory(LibGL)
|
||||||
add_subdirectory(LibIMAP)
|
add_subdirectory(LibIMAP)
|
||||||
add_subdirectory(LibJS)
|
add_subdirectory(LibJS)
|
||||||
add_subdirectory(LibLocale)
|
add_subdirectory(LibLocale)
|
||||||
add_subdirectory(LibM)
|
|
||||||
add_subdirectory(LibMarkdown)
|
add_subdirectory(LibMarkdown)
|
||||||
add_subdirectory(LibPDF)
|
add_subdirectory(LibPDF)
|
||||||
add_subdirectory(LibRegex)
|
add_subdirectory(LibRegex)
|
||||||
|
|
|
@ -11,6 +11,7 @@ set(TEST_SOURCES
|
||||||
TestLibCString.cpp
|
TestLibCString.cpp
|
||||||
TestLibCTime.cpp
|
TestLibCTime.cpp
|
||||||
TestMalloc.cpp
|
TestMalloc.cpp
|
||||||
|
TestMath.cpp
|
||||||
TestMemalign.cpp
|
TestMemalign.cpp
|
||||||
TestMemmem.cpp
|
TestMemmem.cpp
|
||||||
TestMkDir.cpp
|
TestMkDir.cpp
|
||||||
|
@ -32,6 +33,7 @@ set(TEST_SOURCES
|
||||||
TestWctype.cpp
|
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")
|
set_source_files_properties(TestStrtodAccuracy.cpp PROPERTIES COMPILE_FLAGS "-fno-builtin-strtod")
|
||||||
|
|
||||||
foreach(source IN LISTS TEST_SOURCES)
|
foreach(source IN LISTS TEST_SOURCES)
|
||||||
|
|
|
@ -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()
|
|
Loading…
Add table
Add a link
Reference in a new issue