From: Sebastian Harl Date: Fri, 2 May 2014 15:15:57 +0000 (+0200) Subject: cibuild.sh: Don't run regular tests when using the address sanitizer. X-Git-Tag: sysdb-0.1.0~44 X-Git-Url: https://git.tokkee.org/?p=sysdb.git;a=commitdiff_plain;h=f113eaf295a672ea93f2f636d2d352ea84dddba3 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). --- 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 +