File: run_tests2.sh

package info (click to toggle)
netcdf 1%3A4.7.4-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 104,952 kB
  • sloc: ansic: 228,683; sh: 10,980; yacc: 2,561; makefile: 1,319; lex: 1,173; xml: 173; awk: 2
file content (16 lines) | stat: -rwxr-xr-x 389 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh
# This shell script runs the ncdump tests.
# $Id: run_tests2.sh,v 1.2 2005/11/07 20:25:32 ed Exp $

#Ensure srcdir
if test "x$srcdir" = x ; then srcdir=`pwd`; fi

. ../test_common.sh

echo "*** creating test0.nc from test0.cdl..."
if !(${NCDUMP} -n c1 $(srcdir)/ctest0.nc > ctest1.cdl); then
    echo "ncgen test failed! Sorry!" && exit 1
fi

echo "*** Tests successful!"
exit 0