3
CONFIGURE_PARAMS="--enable-mgl2"
5
#apply all quilt patches, recording current status
6
QUILT_APPLIED=`quilt applied`
9
#If manually running outside autopkgtest, then
11
if [ x"$ADTDMP" == x"" ] ; then
12
if [ x"$TMP" == x"" ] ; then
19
REBUILD_DIR=$ADTDMP/3depict-debug/
23
TOP_LEVEL=` git rev-parse --show-toplevel`
24
if [ $? -ne 0 ] ; then
32
rm -rf $REBUILD_DIR || exit 1;
33
mkdir $REBUILD_DIR || exit 1;
38
#Rebuild program with debugging enabled.
39
# Run tests in both single and multithreaded modes
42
./configure $CONFIGURE_PARAMS || exit 1;
44
./src/3Depict -t || exit 1;
47
./configure $CONFIGURE_PARAMS --enable-openmp-parallel
49
./src/3Depict -t || exit 1;
57
#Restore patches to previous state
59
for i in $QUILT_APPLIED
64
if [ x"$TOP_LEVEL" != x"" ] ; then