X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Fcibuild.sh;h=bb863c6f35d68383c2e765b66953fca5ebb8b608;hb=499930e768ea550803018bc938783056e5921aa5;hp=e0754dbc2e2e982881ce4e27fc7423198406a8f4;hpb=09f52d643f0c07cc0e0db33d7a5f72782390fc5a;p=sysdb.git diff --git a/t/cibuild.sh b/t/cibuild.sh index e0754db..bb863c6 100755 --- a/t/cibuild.sh +++ b/t/cibuild.sh @@ -7,6 +7,17 @@ set -ex ./autogen.sh -./configure --enable-gcov $CIOPTIONS 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 -j10 test TESTS_ENVIRONMENT="./testwrapper.sh" + ;; +esac +