netcdf-c/nctest
Dennis Heimbigner 7e27052f87 - Implemented diskless files for both netcdf classic and extended.
The in-memory files can be made persistent if nc_create is called with
  NC_DISKLESS|NC_WRITE flags set. Initial test case also included.
- Modified ncio mechanism to support
  multiple ncio packages; this is so we
  can have posixio and memio operating
  at the same time.
- cleanup up a bunch of lint issues (unused variables, etc).
2012-03-26 01:34:32 +00:00
..
add.c moving to trunk subdir 2010-06-03 13:24:43 +00:00
add.h moving to trunk subdir 2010-06-03 13:24:43 +00:00
atttests.c many changes for memory fixes 2010-11-29 22:23:16 +00:00
cdftests.c many changes for memory fixes 2010-11-29 22:23:16 +00:00
compare_test_files.sh moving to trunk subdir 2010-06-03 13:24:43 +00:00
depend moving to trunk subdir 2010-06-03 13:24:43 +00:00
dimtests.c many changes for memory fixes 2010-11-29 22:23:16 +00:00
driver.c - Implemented diskless files for both netcdf classic and extended. 2012-03-26 01:34:32 +00:00
emalloc.c moving to trunk subdir 2010-06-03 13:24:43 +00:00
emalloc.h moving to trunk subdir 2010-06-03 13:24:43 +00:00
error.c moving to trunk subdir 2010-06-03 13:24:43 +00:00
error.h moving to trunk subdir 2010-06-03 13:24:43 +00:00
Makefile.am changes to remove EXTERN_LDFLAG from build, also to fix netCDF-4 sync bug 2011-05-17 19:14:35 +00:00
misctest.c moving to trunk subdir 2010-06-03 13:24:43 +00:00
README moving to trunk subdir 2010-06-03 13:24:43 +00:00
rec.c moving to trunk subdir 2010-06-03 13:24:43 +00:00
ref_nctest_64bit_offset.nc moving to trunk subdir 2010-06-03 13:24:43 +00:00
ref_nctest_classic.nc moving to trunk subdir 2010-06-03 13:24:43 +00:00
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 moving to trunk subdir 2010-06-03 13:24:43 +00:00
tests.h moving to trunk subdir 2010-06-03 13:24:43 +00:00
timesum.awk moving to trunk subdir 2010-06-03 13:24:43 +00:00
tst_rename.c changes in response to user feedback to rc1, plus cleaned up H5 test dependancy 2011-03-21 15:45:17 +00:00
val.c moving to trunk subdir 2010-06-03 13:24:43 +00:00
val.h moving to trunk subdir 2010-06-03 13:24:43 +00:00
vardef.c moving to trunk subdir 2010-06-03 13:24:43 +00:00
varget.c moving to trunk subdir 2010-06-03 13:24:43 +00:00
vargetg.c moving to trunk subdir 2010-06-03 13:24:43 +00:00
varput.c moving to trunk subdir 2010-06-03 13:24:43 +00:00
varputg.c moving to trunk subdir 2010-06-03 13:24:43 +00:00
vartests.c many changes for memory fixes 2010-11-29 22:23:16 +00:00
vputget.c moving to trunk subdir 2010-06-03 13:24:43 +00:00
vputgetg.c moving to trunk subdir 2010-06-03 13:24:43 +00:00

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.