Code

parser: Let the TIMESERIES command accept optional data-source names.
[sysdb.git] / t / cibuild.sh
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                 # old versions of gcc and clang complain about { 0 } initializers
21                 make -j10 test \
22                         TESTS_ENVIRONMENT="./testwrapper.sh" \
23                         CFLAGS="-O0 $CICFLAGS -Wno-missing-field-initializers"
24                 ;;
25 esac