summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeLib
diff options
context:
space:
mode:
authorRegina Pfeifer <regina@mailbox.org>2019-03-20 05:16:58 (GMT)
committerRegina Pfeifer <regina@mailbox.org>2019-03-20 05:16:58 (GMT)
commit35e09c7aefabc958a550d3256ff367759ce80fa8 (patch)
treefc7ff49c1e158e90d3cc34fbf5a1c6ca06d429ee /Tests/CMakeLib
parent51f3a76ab23fda217e61f0d2a53272836897717f (diff)
downloadCMake-35e09c7aefabc958a550d3256ff367759ce80fa8.zip
CMake-35e09c7aefabc958a550d3256ff367759ce80fa8.tar.gz
CMake-35e09c7aefabc958a550d3256ff367759ce80fa8.tar.bz2
testRange: Make sure tests can actually fail
Diffstat (limited to 'Tests/CMakeLib')
-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)