X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Fcibuild.sh;h=48c56c7b4e7ee9190166713240170fa8c4f7cd21;hb=61e96ed1855b508dc544c5ab2a39de450483f208;hp=b90fb41855028091d3a2917245f21982894df220;hpb=51b387d139a2c8e61224586d9543d7cef2aaf6a8;p=sysdb.git diff --git a/t/cibuild.sh b/t/cibuild.sh index b90fb41..48c56c7 100755 --- a/t/cibuild.sh +++ b/t/cibuild.sh @@ -11,4 +11,16 @@ set -ex 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 +