mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-11 13:36:13 +03:00
We likely won't be able to test `pthread_cancel` itself, but this at least makes sure that we use the correct values by default and that we correctly reject invalid values.
40 lines
866 B
CMake
40 lines
866 B
CMake
set(TEST_SOURCES
|
|
TestAbort.cpp
|
|
TestAssert.cpp
|
|
TestCType.cpp
|
|
TestIo.cpp
|
|
TestLibCExec.cpp
|
|
TestLibCDirEnt.cpp
|
|
TestLibCInodeWatcher.cpp
|
|
TestLibCMkTemp.cpp
|
|
TestLibCSetjmp.cpp
|
|
TestLibCString.cpp
|
|
TestLibCTime.cpp
|
|
TestMalloc.cpp
|
|
TestMemalign.cpp
|
|
TestMemmem.cpp
|
|
TestMkDir.cpp
|
|
TestPthreadCancel.cpp
|
|
TestPthreadCleanup.cpp
|
|
TestPthreadSpinLocks.cpp
|
|
TestPthreadRWLocks.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(TestStrtodAccuracy.cpp PROPERTIES COMPILE_FLAGS "-fno-builtin-strtod")
|
|
|
|
foreach(source IN LISTS TEST_SOURCES)
|
|
serenity_test("${source}" LibC)
|
|
endforeach()
|