netcdf-c/ncgen/run_tests2.sh
2010-06-03 13:24:43 +00:00

12 lines
312 B
Bash
Executable File

#!/bin/sh
# This shell script runs the ncdump tests.
# $Id: run_tests2.sh,v 1.2 2005/11/07 20:25:32 ed Exp $
echo "*** creating test0.nc from test0.cdl..."
if !(../ncdump/ncdump -n c1 $(srcdir)/ctest0.nc > ctest1.cdl); then
echo "ncgen test failed! Sorry!" && exit 1
fi
echo "*** Tests successful!"
exit 0