summaryrefslogtreecommitdiff
path: root/Meta
diff options
context:
space:
mode:
authorAndrew Kaster <andrewdkaster@gmail.com>2021-02-28 15:06:42 -0700
committerAndreas Kling <kling@serenityos.org>2021-03-02 09:00:21 +0100
commit1aa605bc038f35c1cedcc8fbc5d9cb457522c629 (patch)
tree29fceff00e339ffed087ff5d1ac7cc13f6ac3f4a /Meta
parent8453bb346191522d87eaf822b38ef3bd5291af20 (diff)
downloadserenity-1aa605bc038f35c1cedcc8fbc5d9cb457522c629.zip
Meta: Run test-js and test-compress as CTest executables
Reduces the number of steps in the Actions workflow this way :^)
Diffstat (limited to 'Meta')
-rw-r--r--Meta/Lagom/CMakeLists.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/Meta/Lagom/CMakeLists.txt b/Meta/Lagom/CMakeLists.txt
index cd1f2e892e..d1329fc61d 100644
--- a/Meta/Lagom/CMakeLists.txt
+++ b/Meta/Lagom/CMakeLists.txt
@@ -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)