Skip to content

Commit

Permalink
Add property to fail QtTest run using CTest when "FAIL!" is in results.
Browse files Browse the repository at this point in the history
  • Loading branch information
przemek83 committed Dec 21, 2024
1 parent 86507e7 commit eb0ced7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,4 @@ target_link_libraries(${PROJECT_TESTS} PRIVATE wble Qt6::Core Qt6::Widgets Qt6::

add_test(NAME ${PROJECT_TESTS} COMMAND ${PROJECT_TESTS})

set_property(TEST ${PROJECT_TESTS} PROPERTY FAIL_REGULAR_EXPRESSION "FAIL!")

0 comments on commit eb0ced7

Please sign in to comment.