mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-12-03 08:01:25 +08:00
4fa1470241
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. |
||
---|---|---|
.. | ||
add.c | ||
add.h | ||
atttests.c | ||
cdftests.c | ||
CMakeLists.txt | ||
compare_test_files.sh | ||
depend | ||
dimtests.c | ||
driver.c | ||
emalloc.c | ||
emalloc.h | ||
error.c | ||
error.h | ||
Makefile.am | ||
misctest.c | ||
README | ||
rec.c | ||
ref_nctest_64bit_offset.nc | ||
ref_nctest_classic.nc | ||
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 | ||
vartests.c | ||
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.