netcdf-c/nctest
Dennis Heimbigner 4fa1470241 re: github issue https://github.com/Unidata/netcdf-c/issues/265
Charlie Zender noted that we forgot to define what happens for
various netcdf API attribute operations, notably nc_inq_att()
and nc_get_att().
So, I added a list of legal and illegal api calls for the provenance
attributes in docs/attribute_conventions.md.
I also added more test cases to ncdump/tst_fileinfo.c to verify
and fixed resultant errors.
2016-05-15 18:03:04 -06:00
..
add.c
add.h
atttests.c re: github issue https://github.com/Unidata/netcdf-c/issues/265 2016-05-15 18:03:04 -06:00
cdftests.c
CMakeLists.txt Wired in a test that was previously not running. 2015-11-09 19:30:27 +00:00
compare_test_files.sh 1. There were several bugs in ncdump/dumplib.c 2015-11-06 17:03:28 -07:00
depend
dimtests.c
driver.c More work trying to figure out why nctest is failing 2015-10-23 15:14:39 -06:00
emalloc.c
emalloc.h
error.c
error.h
Makefile.am Add provenance info for netcdf-4 files. 2016-05-07 14:32:07 -06:00
misctest.c
README
rec.c
ref_nctest_64bit_offset.nc 1. There were several bugs in ncdump/dumplib.c 2015-11-06 17:03:28 -07:00
ref_nctest_classic.nc 1. There were several bugs in ncdump/dumplib.c 2015-11-06 17:03:28 -07:00
run_valgrind_tests.sh
slabs.c
testcdf.h
tests.h
timesum.awk
tst_rename.c
val.c
val.h
vardef.c
varget.c
vargetg.c
varput.c
varputg.c merge-squash 2015-08-15 16:26:35 -06:00
vartests.c merge-squash 2015-08-15 16:26:35 -06:00
vputget.c The issue (at least this one) in nctest is solved. In dv2i.c, line 896 (or thereabouts), a long variable was being passed to a function expecting a ptrdiff_t. These are not compatible sizes, on Windows. 2015-10-27 12:04:03 -06:00
vputgetg.c The issue (at least this one) in nctest is solved. In dv2i.c, line 896 (or thereabouts), a long variable was being passed to a function expecting a ptrdiff_t. These are not compatible sizes, on Windows. 2015-10-27 12:04:03 -06: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.