1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 14:37:45 +00:00

LibC: Setup a unit test harness for LibC, add ctime_r / asctime_r tests.

LibC is no different than any other code, it should be unit tested where
appropriate / possible.
This commit is contained in:
Brian Gianforcaro 2021-04-19 22:23:20 -07:00 committed by Linus Groh
parent df808f0ed3
commit a1720eed2a
4 changed files with 77 additions and 0 deletions

View file

@ -8,6 +8,8 @@ file(GLOB AK_SOURCES "../../AK/*.cpp")
file(GLOB ELF_SOURCES "../Libraries/LibELF/*.cpp")
file(GLOB LIBC_SOURCES1 "../Libraries/LibC/*.cpp")
file(GLOB LIBC_SOURCES2 "../Libraries/LibC/*/*.cpp")
file(GLOB LIBC_TEST_SOURCES "../Libraries/LibC/Tests/*.cpp")
list(REMOVE_ITEM LIBC_SOURCES2 ${LIBC_TEST_SOURCES})
if ("${SERENITY_ARCH}" STREQUAL "i686")
file(GLOB LIBC_SOURCES3 "../Libraries/LibC/arch/i386/*.S")