From 8dff4a773dd9525ec587cd31646a9f67252122c1 Mon Sep 17 00:00:00 2001 From: Nikolai Kondrashov Date: Fri, 2 Oct 2015 15:54:23 +0300 Subject: CI: Exclude whitespace_test from Valgrind checks MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Exclude whitespace_test from Valgrind checks in contrib/ci/run to prevent it from failing the tests due to Bash bugs. Reviewed-by: Lukáš Slebodník --- contrib/ci/run | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/contrib/ci/run b/contrib/ci/run index 5f668ff7d..a65ad8dca 100755 --- a/contrib/ci/run +++ b/contrib/ci/run @@ -185,6 +185,9 @@ enabled=1 # Run debug build checks. function build_debug() { + # Extended glob pattern matching tests to run under Valgrind. + # NOTE: The particular pattern below is inverted + declare -r valgrind_test_pattern="!(*.py|*/dlopen-tests|*/whitespace_test)" export CFLAGS="$DEBUG_CFLAGS" declare test_dir declare test_dir_distcheck @@ -206,7 +209,7 @@ function build_debug() make-check-wrap -j $CPU_NUM check -- \ libtool --mode=execute \ valgrind-condense 99 \ - '!(*.py|*dlopen-tests)' -- \ + "$valgrind_test_pattern" -- \ --trace-children=yes \ --trace-children-skip='*/bin/*,*/sbin/*' \ --leak-check=full \ -- cgit