File: run_nc_tests.sh

package info (click to toggle)
paraview 4.0.1-1~bpo70%2B1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy-backports
  • size: 526,572 kB
  • sloc: cpp: 2,284,430; ansic: 816,374; python: 239,936; xml: 70,162; tcl: 48,295; fortran: 39,116; yacc: 5,466; java: 3,518; perl: 3,107; lex: 1,620; sh: 1,555; makefile: 932; asm: 471; pascal: 228
file content (21 lines) | stat: -rwxr-xr-x 710 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh

# This shell script runs some netCDF C++ API tests for classic and
# 64-bit offset format.

# $Id: run_nc_tests.sh,v 1.2 2006/07/31 15:17:20 ed Exp $

set -e
echo ""
echo "*** Testing C++ API test program output."

echo "*** dumping classic format file to nctst_classic.cdl and comparing..."
../ncdump/ncdump -n ref_nctst nctst_classic.nc > nctst_classic.cdl
diff -w nctst_classic.cdl $srcdir/ref_nctst.cdl

echo "*** dumping 64-bit offset format file to nctst_64bit_offset.cdl and comparing..."
../ncdump/ncdump -n ref_nctst nctst_64bit_offset.nc > nctst_64bit_offset.cdl
diff -w nctst_64bit_offset.cdl $srcdir/ref_nctst_64bit_offset.cdl

echo "*** All tests of C++ API test output passed!"
exit 0