Skip to content
Snippets Groups Projects
Commit a746024e authored by Fredrik Hübinette (Hubbe)'s avatar Fredrik Hübinette (Hubbe)
Browse files

script to test EVERYTHING

Rev: bin/metatest:1.1
parent f16bd38a
No related branches found
No related tags found
No related merge requests found
#!/bin/sh
SRCPATH=`dirname $0`
SRCPATH=`dirname $SRCPATH`
case $SRCPATH in
/*) ;;
*) SRCPATH=`pwd`/$SRCPATH ;;
esac
set -e
set -x
docompile() {
mkdir test1
cd test1
$SRCPATH/src/configure --cache-file ../testcache
make "$1"
make verify "$1"
make verify LPCOPTS=-d2 "$1"
cd ..
rm -rf test1
}
docompile2() {
docompile DEBUGDEF="$1 -DDEBUG"
docompile DEBUGDEF="$1"
}
docompile3() {
docompile2 "$1 -DALWAYS_GC"
docompile2 "$1 -DNO_GC"
docompile2 "$1"
}
docompile3
rm testcache
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment