Files
serenity/Userland/Libraries/LibTest/CMakeLists.txt
T
Dan Klishch 205bfcc6c8 LibTest: Add Test::AsyncMemory{Input,Output}Stream
They are useful for unit testing other asynchronous streams. They have
to be tested themselves in the first place though.
2024-06-13 17:40:24 +02:00

19 lines
474 B
CMake

serenity_install_sources("Userland/Libraries/LibTest")
set(SOURCES
AsyncTestStreams.cpp
TestSuite.cpp
CrashTest.cpp
)
serenity_lib(LibTest test)
target_link_libraries(LibTest PRIVATE LibCore)
add_library(LibTestMain OBJECT TestMain.cpp)
add_library(JavaScriptTestRunnerMain OBJECT JavaScriptTestRunnerMain.cpp)
if (SERENITYOS)
add_dependencies(LibTestMain install_libc_headers)
add_dependencies(JavaScriptTestRunnerMain install_libc_headers)
endif()