1 #! /bin/bash
2 #
3 # SysDB -- t/cibuild.sh
4 #
5 # Run a continuous integration build for the System DataBase.
7 set -ex
9 ./autogen.sh
10 ./configure --enable-standards --enable-gcov $CIOPTIONS \
11 CFLAGS="-O0 $CICFLAGS" \
12 LDFLAGS="$CILDFLAGS"
13 make clean all
15 case "$CICFLAGS" in
16 *sanitize=address*)
17 # skip regular tests
18 ;;
19 *)
20 make -j10 test TESTS_ENVIRONMENT="./testwrapper.sh"
21 ;;
22 esac