mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-11 13:36:13 +03:00
Tests: Move the former LibM test into the LibC namespace
This commit is contained in:
parent
81d46fa100
commit
bbcdd0dca0
Notes:
sideshowbarker
2024-07-17 07:06:20 +09:00
Author: https://github.com/timschumi Commit: https://github.com/SerenityOS/serenity/commit/bbcdd0dca0 Pull-request: https://github.com/SerenityOS/serenity/pull/15149 Reviewed-by: https://github.com/ADKaster ✅
@ -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…
Reference in New Issue
Block a user