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