summaryrefslogtreecommitdiff
path: root/CTestCustom.cmake.in
diff options
context:
space:
mode:
authorRolf Eike Beer <eike@sf-mail.de>2014-04-12 23:58:19 +0200
committerBrad King <brad.king@kitware.com>2014-04-15 10:13:43 -0400
commitf9f91fa8b9eee3002aed62a205b57b0d6b5581fd (patch)
tree11ce4570cd8c06ad8736a1017e4031d6ffd78a8f /CTestCustom.cmake.in
parent973b3e7dcdd7e21103e330e1c82be897ce2bc322 (diff)
downloadcmake-f9f91fa8b9eee3002aed62a205b57b0d6b5581fd.tar.gz
CTestCustom: Suppress warnings about rand() and srand() on OpenBSD
We don't do crypto here, so a "poor" random doesn't matter. In fact we have API to allow people to get a repeatable sequence by setting a specific seed.
Diffstat (limited to 'CTestCustom.cmake.in')
-rw-r--r--CTestCustom.cmake.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/CTestCustom.cmake.in b/CTestCustom.cmake.in
index 3c589b45ea..65a317db39 100644
--- a/CTestCustom.cmake.in
+++ b/CTestCustom.cmake.in
@@ -55,6 +55,8 @@ set(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.*isn.*t random" # we do not do crypto
+ "cm(StringCommand|CTestTestHandler)\\.cxx.*warning.*srand.*seed choices are.*poor" # we do not do crypto
# Ignore clang's summary warning, assuming prior text has matched some
# other warning expression: