3 # This runs a build/initdb/regression test suite
5 [ ! "$PGDATA" ] && echo "You must define PGDATA" 1>&2 && exit 1
7 [ ! -d src ] && echo "This must be run from the top of the PostgreSQL source tree" 1>&2 && exit 1
9 trap "rm -rf /tmp/$$" 0 1 2 3 15
18 # return command error value
19 (gmake clean; gmake install 2>&1; echo "$?" > $TMP/ret) |
20 (tee $TMP/0; exit `cat $TMP/ret`) &&
24 cd src/test/regress &&
28 # The following grep's have to be adjusted for your setup because
29 # certain warnings are acceptable.
33 grep -v setproctitle |
35 grep -v yy_flex_realloc |
36 grep -v '\[javac\] [0-9]* warning'