summaryrefslogtreecommitdiff
path: root/Tests/LibCore/CMakeLists.txt
blob: dd5aed2943000b1e7808d068db56aa5bb003ffac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
set(TEST_SOURCES
    TestLibCoreArgsParser.cpp
    TestLibCoreFileWatcher.cpp
    TestLibCoreIODevice.cpp
    TestLibCoreDeferredInvoke.cpp
    TestLibCoreStream.cpp
    TestLibCoreFilePermissionsMask.cpp
    TestLibCoreSharedSingleProducerCircularQueue.cpp
)

foreach(source IN LISTS TEST_SOURCES)
    serenity_test("${source}" LibCore)
endforeach()

# NOTE: Required because of the LocalServer tests
target_link_libraries(TestLibCoreStream PRIVATE LibThreading)
target_link_libraries(TestLibCoreSharedSingleProducerCircularQueue PRIVATE LibThreading)

install(FILES long_lines.txt 10kb.txt small.txt DESTINATION usr/Tests/LibCore)