X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Fcibuild.sh;h=bb863c6f35d68383c2e765b66953fca5ebb8b608;hb=ce9c414510019146cb7b3ce80ad823ed2af88f70;hp=e0754dbc2e2e982881ce4e27fc7423198406a8f4;hpb=f80f6cc6c0c3ba4df82b3fd2bc7c76a23419cb22;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 +