You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
503 B
22 lines
503 B
#!/bin/sh
|
|
# This shell script runs the ncgen3 tests.
|
|
# $Id: run_tests.sh,v 1.9 2009/09/24 18:19:11 dmh Exp $
|
|
|
|
echo "*** Testing ncgen3."
|
|
|
|
set -e
|
|
|
|
if test "x$srcdir" = x ;then srcdir=`pwd`; fi
|
|
. ../test_common.sh
|
|
|
|
echo "*** creating classic file c0.nc from c0.cdl..."
|
|
if ${NCGEN3} -b -o c0.nc ${ncgen3c0} ; then
|
|
echo "***PASS"
|
|
else
|
|
echo "***fail"
|
|
fi
|
|
echo "*** creating 64-bit offset file c0_64.nc from c0.cdl..."
|
|
#${NCGEN3} -k 64-bit-offset -b -o c0_64.nc ${ncgen3c0}
|
|
|
|
echo "*** Test successful!"
|
|
exit 0
|
|
|