2010-06-03 21:24:43 +08:00
|
|
|
#!/bin/sh
|
2017-11-25 22:28:07 +08:00
|
|
|
# Tests for ncgen4 using list of test cdl files from the cdl4
|
|
|
|
# directory, and comparing output to expected results in the expected4
|
|
|
|
# directory. Same as tst_ncgen4.sh but for classic format.
|
|
|
|
# Dennie Heimbigner
|
2017-03-09 08:01:10 +08:00
|
|
|
|
|
|
|
if test "x$srcdir" = x ; then srcdir=`pwd`; fi
|
|
|
|
. ../test_common.sh
|
2010-06-03 21:24:43 +08:00
|
|
|
|
2010-08-10 04:39:36 +08:00
|
|
|
set -e
|
2012-06-13 05:50:02 +08:00
|
|
|
echo ""
|
2010-06-03 21:24:43 +08:00
|
|
|
verbose=0
|
|
|
|
export verbose
|
|
|
|
|
2017-11-25 22:28:07 +08:00
|
|
|
echo "*** Performing diff/cycle tests for classic format: k=1"
|
2010-06-03 21:24:43 +08:00
|
|
|
KFLAG=1 ; export KFLAG
|
2018-02-25 11:36:24 +08:00
|
|
|
bash ${srcdir}/tst_ncgen4_diff.sh
|
|
|
|
bash ${srcdir}/tst_ncgen4_cycle.sh
|
2017-11-25 22:28:07 +08:00
|
|
|
echo "SUCCESS!!"
|
2010-08-10 04:39:36 +08:00
|
|
|
exit 0
|
|
|
|
|
2010-06-03 21:24:43 +08:00
|
|
|
|