netcdf-c/nctest
Dennis Heimbigner 6d8809100f Fix pull request https://github.com/Unidata/netcdf-c/pull/374 (dap4.dmh)
1. When running under windows (as opposed to cygwin)
   we need to make sure to not user /cygdrive/ file paths.
   This was ocurring in libdap4/d4read.c, but may occur
   elsewhere.
2. Shell scripts in the git repo are not being checked-out
   with the executable mode set. Had core.filemode set to false.
   Was a major hassle to fix.
2017-04-03 21:39:44 -06: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 re: github issue https://github.com/Unidata/netcdf-c/issues/265 2016-05-15 18:03:04 -06:00
cdftests.c 2012-10-09 19:54:36 +00:00
CMakeLists.txt Fix pull request https://github.com/Unidata/netcdf-c/pull/374 (dap4.dmh) 2017-04-03 21:39:44 -06:00
compare_test_files.sh Primary change: add dap4 support 2017-03-08 17:01:10 -07: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 More work trying to figure out why nctest is failing 2015-10-23 15:14:39 -06: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 2012-10-09 19:54:36 +00:00
error.h moving to trunk subdir 2010-06-03 13:24:43 +00:00
Makefile.am Add provenance info for netcdf-4 files. 2016-05-07 14:32:07 -06: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 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 Primary change: add dap4 support 2017-03-08 17:01:10 -07: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 Refactoring tests to separate out error macros from tests, in support of fixing http://github.com/Unidata/netcdf-c/issues/321 2016-10-21 17:17:39 +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 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 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 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.