mirror of
https://github.com/SerenityOS/serenity.git
synced 2026-11-07 04:29:30 -10:00
They are useful for unit testing other asynchronous streams. They have to be tested themselves in the first place though.
19 lines
474 B
CMake
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()
|