mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
997828c31a
Co-Authored-By: Dan Klishch <danilklishch@gmail.com>
49 lines
1.2 KiB
CMake
49 lines
1.2 KiB
CMake
set(TEST_SOURCES
|
|
TestAbort.cpp
|
|
TestAssert.cpp
|
|
TestCType.cpp
|
|
TestEnvironment.cpp
|
|
TestFenv.cpp
|
|
TestIo.cpp
|
|
TestLibCExec.cpp
|
|
TestLibCGrp.cpp
|
|
TestLibCDirEnt.cpp
|
|
TestLibCInodeWatcher.cpp
|
|
TestLibCMkTemp.cpp
|
|
TestLibCNetdb.cpp
|
|
TestLibCSetjmp.cpp
|
|
TestLibCString.cpp
|
|
TestLibCTime.cpp
|
|
TestMalloc.cpp
|
|
TestMath.cpp
|
|
TestMemalign.cpp
|
|
TestMemmem.cpp
|
|
TestMkDir.cpp
|
|
TestPthreadCancel.cpp
|
|
TestPthreadCleanup.cpp
|
|
TestPThreadPriority.cpp
|
|
TestPthreadSpinLocks.cpp
|
|
TestPthreadRWLocks.cpp
|
|
TestPwd.cpp
|
|
TestQsort.cpp
|
|
TestRaise.cpp
|
|
TestRealpath.cpp
|
|
TestScanf.cpp
|
|
TestSearch.cpp
|
|
TestSnprintf.cpp
|
|
TestStackSmash.cpp
|
|
TestStdio.cpp
|
|
TestStrlcpy.cpp
|
|
TestStrtodAccuracy.cpp
|
|
TestWchar.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")
|
|
# Don't assume default rounding behavior is used for testing rounding behavior modifications.
|
|
set_source_files_properties(TestFenv.cpp PROPERTIES COMPILE_FLAGS "-frounding-math")
|
|
|
|
foreach(source IN LISTS TEST_SOURCES)
|
|
serenity_test("${source}" LibC)
|
|
endforeach()
|