summaryrefslogtreecommitdiff
path: root/CTestCustom.cmake.in
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-04-15 10:22:20 -0400
committerCMake Topic Stage <kwrobot@kitware.com>2014-04-15 10:22:20 -0400
commit18e480a5e9f4e061714cc414feec6e59dc4bb753 (patch)
tree081463a27d6b58c51ffad53978d8a17834666bd4 /CTestCustom.cmake.in
parent27c141131ead0eec87195724f3d21cb246168a32 (diff)
parentf9f91fa8b9eee3002aed62a205b57b0d6b5581fd (diff)
downloadcmake-18e480a5e9f4e061714cc414feec6e59dc4bb753.tar.gz
Merge topic 'openbsd-warnings'
f9f91fa8 CTestCustom: Suppress warnings about rand() and srand() on OpenBSD
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 fd5d7441d5..f499be1d9b 100644
--- a/CTestCustom.cmake.in
+++ b/CTestCustom.cmake.in
@@ -56,6 +56,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: