mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 09:30:24 +00:00
64a2a63df6
It does not make sense to test known-working code that is deprecated and in the process of being removed. Also, this test becomes too cumbersome to write without using read_all or line iteration in some form, and migrating the test is just silly.
18 lines
605 B
CMake
18 lines
605 B
CMake
set(TEST_SOURCES
|
|
TestLibCoreArgsParser.cpp
|
|
TestLibCoreFileWatcher.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)
|