netcdf-c/ncgen/run_tests2.sh

12 lines
312 B
Bash
Raw Normal View History

2010-06-03 21:24:43 +08:00
#!/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