X-Git-Url: https://git.tokkee.org/?p=sysdb.git;a=blobdiff_plain;f=t%2Fcibuild.sh;h=48c56c7b4e7ee9190166713240170fa8c4f7cd21;hp=8b872af6edbc7fb39bdc4570a9fea25bc10f06ea;hb=a248a2d506d3caf06d3cf5284231df6fc583087e;hpb=919214f215964cb9087ce293171ab88c4715f634 diff --git a/t/cibuild.sh b/t/cibuild.sh index 8b872af..48c56c7 100755 --- a/t/cibuild.sh +++ b/t/cibuild.sh @@ -7,8 +7,20 @@ set -ex ./autogen.sh -./configure --enable-gcov $CIOPTIONS \ +./configure --enable-standards --enable-gcov $CIOPTIONS \ CFLAGS="-O0 $CICFLAGS" \ LDFLAGS="$CILDFLAGS" make clean all -make test + +case "$CICFLAGS" in + *sanitize=address*) + # skip regular tests + ;; + *) + # old versions of gcc and clang complain about { 0 } initializers + make -j10 test \ + TESTS_ENVIRONMENT="./testwrapper.sh" \ + CFLAGS="-O0 $CICFLAGS -Wno-missing-field-initializers" + ;; +esac +