X-Git-Url: https://git.tokkee.org/?p=sysdb.git;a=blobdiff_plain;f=t%2Fcibuild.sh;h=9e21eb2b1fe15a75eb6fbe08f4f613b0cd110830;hp=e0754dbc2e2e982881ce4e27fc7423198406a8f4;hb=56b97a180a53aecbfe9f7162b8ece3faae973cf9;hpb=09f52d643f0c07cc0e0db33d7a5f72782390fc5a diff --git a/t/cibuild.sh b/t/cibuild.sh index e0754db..9e21eb2 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 test TESTS_ENVIRONMENT="./testwrapper.sh" + ;; +esac +