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