From 154fa2c544e53a77351b33446ce690ef36c646c0 Mon Sep 17 00:00:00 2001 From: Brad King Date: Fri, 27 May 2016 09:18:49 -0400 Subject: [PATCH] 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. --- CTestCustom.cmake.in | 1 + 1 file changed, 1 insertion(+) diff --git a/CTestCustom.cmake.in b/CTestCustom.cmake.in index f78c936c8..2f36001ad 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