summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-05-27 13:18:49 (GMT)
committerBrad King <brad.king@kitware.com>2016-05-27 13:25:37 (GMT)
commit154fa2c544e53a77351b33446ce690ef36c646c0 (patch)
tree31acec4c3478ca4ccc5c22ef98180599719e91ab
parente4a361bbbf165c030ab05b7558b7a702b84ef358 (diff)
downloadCMake-154fa2c544e53a77351b33446ce690ef36c646c0.zip
CMake-154fa2c544e53a77351b33446ce690ef36c646c0.tar.gz
CMake-154fa2c544e53a77351b33446ce690ef36c646c0.tar.bz2
CTestCustom: Suppress warnings about rand() on OpenBSD
We first suppressed this in commit v3.1.0-rc1~647^2 (CTestCustom: Suppress warnings about rand() and srand() on OpenBSD, 2014-04-12). Add another variant of the warning wording.
-rw-r--r--CTestCustom.cmake.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/CTestCustom.cmake.in b/CTestCustom.cmake.in
index f78c936..2f36001 100644
--- a/CTestCustom.cmake.in
+++ b/CTestCustom.cmake.in
@@ -62,6 +62,7 @@ list(APPEND CTEST_CUSTOM_WARNING_EXCEPTION
"warning.*This version of Mac OS X is unsupported"
"clang.*: warning: argument unused during compilation: .-g"
"note: in expansion of macro" # diagnostic context note
+ "cm(StringCommand|CTestTestHandler)\\.cxx.*warning.*rand.*may return deterministic values"
"cm(StringCommand|CTestTestHandler)\\.cxx.*warning.*rand.*isn.*t random" # we do not do crypto
"cm(StringCommand|CTestTestHandler)\\.cxx.*warning.*srand.*seed choices are.*poor" # we do not do crypto