2021-09-02 01:44:24 -04:00
|
|
|
set(TEST_SOURCES
|
|
|
|
TestLibCoreArgsParser.cpp
|
|
|
|
TestLibCoreDeferredInvoke.cpp
|
2021-12-24 09:34:30 -05:00
|
|
|
TestLibCoreFilePermissionsMask.cpp
|
2023-07-07 18:00:27 -04:00
|
|
|
TestLibCoreFileWatcher.cpp
|
|
|
|
TestLibCorePromise.cpp
|
2022-01-23 17:31:51 -05:00
|
|
|
TestLibCoreSharedSingleProducerCircularQueue.cpp
|
2023-07-07 18:00:27 -04:00
|
|
|
TestLibCoreStream.cpp
|
2021-05-10 05:27:04 -04:00
|
|
|
)
|
|
|
|
|
2021-09-02 01:44:24 -04:00
|
|
|
foreach(source IN LISTS TEST_SOURCES)
|
|
|
|
serenity_test("${source}" LibCore)
|
2021-05-10 05:27:04 -04:00
|
|
|
endforeach()
|
2021-05-30 11:14:16 -04:00
|
|
|
|
2021-09-10 18:46:52 -04:00
|
|
|
# NOTE: Required because of the LocalServer tests
|
2022-10-21 15:43:56 -04:00
|
|
|
target_link_libraries(TestLibCoreStream PRIVATE LibThreading)
|
|
|
|
target_link_libraries(TestLibCoreSharedSingleProducerCircularQueue PRIVATE LibThreading)
|
2021-09-10 18:46:52 -04:00
|
|
|
|
2021-12-31 15:36:37 -05:00
|
|
|
install(FILES long_lines.txt 10kb.txt small.txt DESTINATION usr/Tests/LibCore)
|