summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-03-21 13:46:03 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-03-21 13:46:36 (GMT)
commit58b83f24c7a3cff8fabc175ea85e24bc0543ba42 (patch)
treeb31ab76b5c851f5e923c9c64b7bdd2b3c2b9b543
parentb54517bf75bcd856461eb2eb54f0e1143c891319 (diff)
parent35e09c7aefabc958a550d3256ff367759ce80fa8 (diff)
downloadCMake-58b83f24c7a3cff8fabc175ea85e24bc0543ba42.zip
CMake-58b83f24c7a3cff8fabc175ea85e24bc0543ba42.tar.gz
CMake-58b83f24c7a3cff8fabc175ea85e24bc0543ba42.tar.bz2
Merge topic 'fix-range-tests'
35e09c7aef testRange: Make sure tests can actually fail Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3124
-rw-r--r--Tests/CMakeLib/testRange.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/CMakeLib/testRange.cxx b/Tests/CMakeLib/testRange.cxx
index 5ae805f..b26b07b 100644
--- a/Tests/CMakeLib/testRange.cxx
+++ b/Tests/CMakeLib/testRange.cxx
@@ -11,7 +11,7 @@
do { \
if (!(x)) { \
std::cout << "ASSERT_TRUE(" #x ") failed on line " << __LINE__ << "\n"; \
- return false; \
+ return -1; \
} \
} while (false)