mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-23 19:00:59 +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
Notes:
sideshowbarker
2024-07-19 06:07:26 +09:00
Author: https://github.com/bgianfo
Commit: 27360f1f20
Pull-request: https://github.com/SerenityOS/serenity/pull/2389
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