mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:37:46 +00:00
Build: Fix cmake test runner, so it knows when tests fail
The CMake runner looks at the return code if you don't set the pattern. Since the AK test suite setup doesn't use return codes, we were missing test failures.
This commit is contained in:
parent
71deafe476
commit
27360f1f20
1 changed files with 7 additions and 0 deletions
|
@ -9,4 +9,11 @@ foreach(source ${AK_TEST_SOURCES})
|
|||
COMMAND ${name}
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
||||
|
||||
set_tests_properties(
|
||||
${name}
|
||||
PROPERTIES
|
||||
FAIL_REGULAR_EXPRESSION
|
||||
"FAIL"
|
||||
)
|
||||
endforeach()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue