mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-11 09:18:05 +03:00
524baa29e8
These functions are now implemented in terms of getpwent_r() which allows us to remove two FIXMEs about global variable shenanigans. I'm also adding tests for both APIs. :^)
44 lines
1009 B
CMake
44 lines
1009 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
|
|
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")
|
|
|
|
foreach(source IN LISTS TEST_SOURCES)
|
|
serenity_test("${source}" LibC)
|
|
endforeach()
|