mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 14:57:35 +00:00
Meta: Run test-js and test-compress as CTest executables
Reduces the number of steps in the Actions workflow this way :^)
This commit is contained in:
parent
8453bb3461
commit
1aa605bc03
2 changed files with 11 additions and 9 deletions
|
@ -121,6 +121,11 @@ if (BUILD_LAGOM)
|
|||
target_link_libraries(test-js_lagom Lagom)
|
||||
target_link_libraries(test-js_lagom stdc++)
|
||||
target_link_libraries(test-js_lagom pthread)
|
||||
add_test(
|
||||
NAME JS
|
||||
COMMAND test-js_lagom --show-progress=false
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
||||
|
||||
add_executable(test-crypto_lagom ../../Userland/Utilities/test-crypto.cpp)
|
||||
set_target_properties(test-crypto_lagom PROPERTIES OUTPUT_NAME test-crypto)
|
||||
|
@ -136,6 +141,11 @@ if (BUILD_LAGOM)
|
|||
set_target_properties(test-compress_lagom PROPERTIES OUTPUT_NAME test-compress)
|
||||
target_link_libraries(test-compress_lagom Lagom)
|
||||
target_link_libraries(test-compress_lagom stdc++)
|
||||
add_test(
|
||||
NAME Compress
|
||||
COMMAND test-compress_lagom
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
||||
|
||||
add_executable(disasm_lagom ../../Userland/Utilities/disasm.cpp)
|
||||
set_target_properties(disasm_lagom PROPERTIES OUTPUT_NAME disasm)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue