Code

store_json: Base the memstore emitter on the store-writer API.
[sysdb.git] / t / cibuild.sh
index 120d4278b9e7f404d1175cab90626a30d547650d..48c56c7b4e7ee9190166713240170fa8c4f7cd21 100755 (executable)
@@ -7,8 +7,20 @@
 set -ex
 
 ./autogen.sh
-./configure --enable-gcov $CIOPTIONS \
-       CFLAGS="-O0 -Wno-sign-conversion $CICFLAGS" \
+./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
+