mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-12-27 08:49:16 +08:00
19 lines
436 B
Bash
Executable File
19 lines
436 B
Bash
Executable File
#!/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
|
|
|
|
echo "*** creating classic file c0.nc from c0.cdl..."
|
|
./ncgen3 -b -o c0.nc $srcdir/c0.cdl
|
|
echo "*** creating 64-bit offset file c0_64.nc from c0.cdl..."
|
|
./ncgen3 -k 64-bit-offset -b -o c0_64.nc $srcdir/c0.cdl
|
|
|
|
echo "*** Test successful!"
|
|
exit 0
|