From f113eaf295a672ea93f2f636d2d352ea84dddba3 Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Fri, 2 May 2014 17:15:57 +0200 Subject: [PATCH] cibuild.sh: Don't run regular tests when using the address sanitizer. valgrind does not play well with the address sanitizer. Also, there's no need to rerun the regular tests on asan generated code (which is a test on its own). --- t/cibuild.sh | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/t/cibuild.sh b/t/cibuild.sh index b90fb41..61f4a8b 100755 --- a/t/cibuild.sh +++ b/t/cibuild.sh @@ -11,4 +11,13 @@ set -ex CFLAGS="-O0 $CICFLAGS" \ LDFLAGS="$CILDFLAGS" make clean all -make test + +case "$CICFLAGS" in + *sanitize=address*) + # skip regular tests + ;; + *) + make test + ;; +esac + -- 2.30.2