a746021996-05-16Fredrik Hübinette (Hubbe) #!/bin/sh SRCPATH=`dirname $0` SRCPATH=`dirname $SRCPATH` case $SRCPATH in /*) ;; *) SRCPATH=`pwd`/$SRCPATH ;; esac set -e set -x
663b201996-06-09Fredrik Hübinette (Hubbe) docompile4() {
a746021996-05-16Fredrik Hübinette (Hubbe)  mkdir test1 cd test1 $SRCPATH/src/configure --cache-file ../testcache
663b201996-06-09Fredrik Hübinette (Hubbe)  d="DEBUGDEF=$1" make "$d" make verify "$d" make verify LPCOPTS=-d2 "$d" # make verify LPCOPTS=-d99 "$d"
a746021996-05-16Fredrik Hübinette (Hubbe)  cd .. rm -rf test1 }
663b201996-06-09Fredrik Hübinette (Hubbe) docompile3() { docompile4 "$1" docompile4 "$1 -DFLAT_MAPPINGS" docompile4 "$1 -DOLD_MAPPINGS" }
a746021996-05-16Fredrik Hübinette (Hubbe) docompile2() {
663b201996-06-09Fredrik Hübinette (Hubbe)  docompile3 "$1 -DDEBUG" docompile3 "$1"
a746021996-05-16Fredrik Hübinette (Hubbe) }
663b201996-06-09Fredrik Hübinette (Hubbe) docompile1() {
a746021996-05-16Fredrik Hübinette (Hubbe)  docompile2 "$1 -DALWAYS_GC" docompile2 "$1 -DNO_GC" docompile2 "$1" }
663b201996-06-09Fredrik Hübinette (Hubbe)  docompile1
a746021996-05-16Fredrik Hübinette (Hubbe) rm testcache