Code

cibuild.sh: Don't run regular tests when using the address sanitizer.
[sysdb.git] / t / cibuild.sh
index fdf4badceddae3091bb014e591e8f309250b0e58..61f4a8b09b658e3b13c75dd17cc7249517a275d7 100755 (executable)
@@ -7,6 +7,17 @@
 set -ex
 
 ./autogen.sh
-./configure --enable-gcov CFLAGS="-O0 -Wno-sign-conversion"
+./configure --enable-standards --enable-gcov $CIOPTIONS \
+       CFLAGS="-O0 $CICFLAGS" \
+       LDFLAGS="$CILDFLAGS"
 make clean all
-make test
+
+case "$CICFLAGS" in
+       *sanitize=address*)
+               # skip regular tests
+               ;;
+       *)
+               make test
+               ;;
+esac
+