2010-06-03 21:24:43 +08:00
|
|
|
#!/bin/sh
|
|
|
|
verbose=1
|
|
|
|
set -e
|
|
|
|
|
|
|
|
if test "x$builddir" = "x"; then builddir=`pwd`; fi
|
|
|
|
if test "x$srcdir" = "x"; then srcdir=`dirname $0`; fi
|
|
|
|
|
|
|
|
# Make buildir absolute
|
|
|
|
cd $builddir
|
|
|
|
builddir=`pwd`
|
|
|
|
|
|
|
|
# Make srcdir be absolute
|
|
|
|
cd $srcdir
|
|
|
|
srcdir=`pwd`
|
|
|
|
cd $builddir
|
|
|
|
|
|
|
|
export verbose
|
|
|
|
export srcdir
|
|
|
|
export builddir
|
|
|
|
|
|
|
|
KFLAG=1 ; export KFLAG
|
2010-08-10 04:39:36 +08:00
|
|
|
echo "Performing diff tests: k=1"
|
2010-06-03 21:24:43 +08:00
|
|
|
sh ${srcdir}/tst_ncgen4_diff.sh
|
2010-08-10 04:39:36 +08:00
|
|
|
echo "Performing cycle tests: k=1"
|
2010-06-03 21:24:43 +08:00
|
|
|
sh ${srcdir}/tst_ncgen4_cycle.sh
|
|
|
|
KFLAG=3 ; export KFLAG
|
2010-08-10 04:39:36 +08:00
|
|
|
echo "Performing diff tests: k=3"
|
2010-06-03 21:24:43 +08:00
|
|
|
sh ${srcdir}/tst_ncgen4_diff.sh
|
2010-08-10 04:39:36 +08:00
|
|
|
echo "Performing cycle tests: k=3"
|
2010-06-03 21:24:43 +08:00
|
|
|
sh ${srcdir}/tst_ncgen4_cycle.sh
|
|
|
|
KFLAG=4 ; export KFLAG
|
2010-08-10 04:39:36 +08:00
|
|
|
echo "Performing diff tests: k=4"
|
2010-06-03 21:24:43 +08:00
|
|
|
sh ${srcdir}/tst_ncgen4_diff.sh
|
2010-08-10 04:39:36 +08:00
|
|
|
echo "Performing cycle tests: k=4"
|
2010-06-03 21:24:43 +08:00
|
|
|
sh ${srcdir}/tst_ncgen4_cycle.sh
|
|
|
|
exit
|
|
|
|
|