netcdf-c/nctest
Ward Fisher 448a95d74d
2012-10-09 20:56:27 +00:00
..
add.c
add.h
atttests.c many changes for memory fixes 2010-11-29 22:23:16 +00:00
cdftests.c 2012-10-09 19:54:36 +00:00
CMakeLists.txt 2012-10-09 20:56:27 +00:00
compare_test_files.sh
depend
dimtests.c many changes for memory fixes 2010-11-29 22:23:16 +00:00
driver.c 2012-10-09 20:55:07 +00:00
emalloc.c
emalloc.h
error.c 2012-10-09 19:54:36 +00:00
error.h
Makefile.am nctest/run_valgrind.sh was not in EXTRA_DIST for some reason 2012-07-24 23:09:55 +00:00
misctest.c
README
rec.c
ref_nctest_64bit_offset.nc
ref_nctest_classic.nc
run_valgrind_tests.sh freed new path string for nc3 and nc4 files 2010-12-01 18:21:47 +00:00
slabs.c many changes for memory fixes 2010-11-29 22:23:16 +00:00
testcdf.h
tests.h
timesum.awk
tst_rename.c Fix non-portable test that depends on nonstandardized floating-point format using e+08, not e+008. Fixes for some problems reported in scan-build static analysis. 2012-04-23 23:59:24 +00:00
val.c
val.h
vardef.c Fix non-portable test that depends on nonstandardized floating-point format using e+08, not e+008. Fixes for some problems reported in scan-build static analysis. 2012-04-23 23:59:24 +00:00
varget.c
vargetg.c
varput.c
varputg.c
vartests.c many changes for memory fixes 2010-11-29 22:23:16 +00:00
vputget.c
vputgetg.c

This directory contains source code for nctest, an extensive test
program for the entire netCDF library.  Before compiling the sources in
this directory, you must have already made the netCDF library from the
../src directory.

For UNIX, just type "make".  Then, when "nctest" is successfully made,
invoke it with "nctest".

For VMS, type "@make".  The make.com, make.opt, and *-vms files are for
VMS only.  When nctest.exe is successfully made, invoke it with "run
nctest".

Output from the test program should look like the following:
--- Testing nccreate ...
--- Testing ncopen ...
--- Testing ncredef ...
--- Testing ncendef ...
--- Testing ncclose ...
--- Testing ncinquire ...
--- Testing ncsync ...
--- Testing ncabort ...
--- Testing ncdimdef ...
--- Testing ncdimid ...
--- Testing ncdiminq ...
--- Testing ncdimrename ...
--- Testing ncvardef ...
--- Testing ncvarid ...
--- Testing ncvarinq ...
--- Testing ncvarput1 ...
--- Testing ncvarget1 ...
--- Testing ncvarput ...
--- Testing ncvarget ...
--- Testing ncvarrename ...
--- Testing ncattput ...
--- Testing ncattinq ...
--- Testing ncattget ...
--- Testing ncattcopy ...
--- Testing ncattname ...
--- Testing ncattrename ...
--- Testing ncattdel ...
--- Testing nctypelen ...
except that on VMS systems, the line "Doesn't support shared access on
vms" will appear a couple of times after the "ncopen" and "ncsync"
tests.