netcdf-c/examples/C/run_examples4.sh

21 lines
431 B
Bash
Executable File

#!/bin/sh
# This shell script runs the examples for netCDF4.
# Ed Hartnett
if test "x$srcdir" = x ; then srcdir=`pwd`; fi
. ../../test_common.sh
echo "*** Running examples for netCDF-4."
set -e
echo "*** running simple_nc4 examples..."
${execdir}/simple_nc4_wr
${execdir}/simple_nc4_rd
echo "*** running simple_xy_nc4 examples..."
${execdir}/simple_xy_nc4_wr
${execdir}/simple_xy_nc4_rd
echo "*** Examples successful!"
exit 0