diff options
author | Jose Fonseca <jfonseca@vmware.com> | 2015-08-27 12:53:07 +0100 |
---|---|---|
committer | Jose Fonseca <jfonseca@vmware.com> | 2015-08-27 12:53:29 +0100 |
commit | 4597d7856f275d82e4db543e58e567ad68f35bf9 (patch) | |
tree | b6319aa677ea7a1b22fbe5041e408ac08b907cfe | |
parent | 6d7ddcc5594d334f926aa2e0546ab5b57b9a1e3c (diff) |
cmake: Output test result on failure.
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 6e88c4bd..c0a69726 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -476,7 +476,7 @@ enable_testing () if (CMAKE_CROSSCOMPILING) add_custom_target (check) else () - add_custom_target (check COMMAND ${CMAKE_CTEST_COMMAND}) + add_custom_target (check COMMAND ${CMAKE_CTEST_COMMAND} --output-on-failure) endif () # Convenience macro for adding unit tests |