Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
Add property to fail QtTest run using CTest when "FAIL!" is in results.
  • Loading branch information
przemek83 authored Dec 21, 2024
1 parent f197f48 commit 27d39b6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,4 @@ if (WIN32)
endif()

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


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

0 comments on commit 27d39b6

Please sign in to comment.