summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNikolai Kondrashov <Nikolai.Kondrashov@redhat.com>2015-10-02 15:54:23 +0300
committerLukas Slebodnik <lslebodn@redhat.com>2015-10-02 20:51:55 +0200
commit8dff4a773dd9525ec587cd31646a9f67252122c1 (patch)
tree847e6d3ca603983ed489a49837bf149ff8eb7971
parent43147a9abaa1254235b853e643514cf1c7b150d7 (diff)
downloadsssd-8dff4a773dd9525ec587cd31646a9f67252122c1.tar.gz
sssd-8dff4a773dd9525ec587cd31646a9f67252122c1.tar.xz
sssd-8dff4a773dd9525ec587cd31646a9f67252122c1.zip
CI: Exclude whitespace_test from Valgrind checks
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 <lslebodn@redhat.com>
-rwxr-xr-xcontrib/ci/run5
1 files changed, 4 insertions, 1 deletions
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 \