netcdf-c/nc_test
Dennis Heimbigner 25f062528b This completes (for now) the refactoring of libsrc4.
The file docs/indexing.dox tries to provide design
information for the refactoring.

The primary change is to replace all walking of linked
lists with the use of the NCindex data structure.
Ncindex is a combination of a hash table (for name-based
lookup) and a vector (for walking the elements in the index).
Additionally, global vectors are added to NC_HDF5_FILE_INFO_T
to support direct mapping of an e.g. dimid to the NC_DIM_INFO_T
object. These global vectors exist for dimensions, types, and groups
because they have globally unique id numbers.

WARNING:
1. since libsrc4 and libsrchdf4 share code, there are also
   changes in libsrchdf4.
2. Any outstanding pull requests that change libsrc4 or libhdf4
   are likely to cause conflicts with this code.
3. The original reason for doing this was for performance improvements,
   but as noted elsewhere, this may not be significant because
   the meta-data read performance apparently is being dominated
   by the hdf5 library because we do bulk meta-data reading rather
   than lazy reading.
2018-03-16 11:46:18 -06:00
..
bad_cdf5_begin.nc add a test program to read a CDF-5 file with a corrupted header 2017-09-16 14:04:39 -05:00
CMakeLists.txt a clean commit for #383 2017-12-20 20:53:30 -06:00
error.c match type of a subroutine argument 2016-10-25 13:28:38 -05:00
error.h match type of a subroutine argument 2016-10-25 13:28:38 -05:00
large_files.c fixed some warnings, added some files to makefile.am to be cleaned 2017-11-26 08:50:16 -07:00
Make0 This completes (for now) the refactoring of libsrc4. 2018-03-16 11:46:18 -06:00
make_test_file.sh
Makefile.am removed valgrind stuff 2018-02-27 08:36:12 -07:00
nc_enddef.cdl
nc_sync.cdl
nc_test.c Updated in support of https://github.com/Unidata/netcdf-c/issues/556 2017-10-31 11:13:05 -06:00
nc_test.html
quick_large_files.c now run tst_large2, also cleaned up some more warnings 2017-11-24 10:50:07 -07:00
ref_tst_diskless2.cdl
run_cdf5.sh add another test program to check if a CDF-5 file has a corrupted header 2017-09-16 14:30:09 -05:00
run_diskless2.sh re e-support UBS-599337 2017-10-24 16:25:09 -06:00
run_diskless5.sh typo 2017-05-03 10:19:35 -06:00
run_diskless.sh Configuring a test so that it won't fail during parallel testing. 2017-12-06 15:00:21 -07:00
run_mmap.sh Fix pull request https://github.com/Unidata/netcdf-c/pull/374 (dap4.dmh) 2017-04-03 21:39:44 -06:00
run_pnetcdf_test.sh Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
t_nc_p5.c merge-squash 2015-10-09 10:12:11 -06:00
t_nc.c Modified t_nc.c to only test cdf5 if it has been enabled. 2017-10-16 11:19:24 -06:00
test_get_p5.c merge-squash 2015-10-09 10:12:11 -06:00
test_get_p5.m4 add CDF format checking in hash4 to exclude the NC_BYTE-to-uchar exception fro CDF-5 format 2016-10-08 13:48:22 -05:00
test_get.m4 silence warnings from Travis CI 2017-03-11 12:51:04 -06:00
test_put.m4 Fix build on pre-C99 compilers 2017-11-26 01:47:54 +05:30
test_read.m4 Eliminate NC_MAX_VARS|DIMS|ATTRS limits 2017-07-20 09:32:29 -06:00
test_write.m4 a clean commit for #383 2017-12-20 20:53:30 -06:00
testnc3perf.c Fix pull request https://github.com/Unidata/netcdf-c/pull/374 (dap4.dmh) 2017-04-03 21:39:44 -06:00
tests.h This completes (for now) the refactoring of libsrc4. 2018-03-16 11:46:18 -06:00
tst_addvar.c [NCF-344] Modified addvar test to return 0 when called without an argument. Test doesn't run unless passed a file, but it isn't a failure. The test is run properly through a shell script already. 2015-10-30 17:11:27 +00:00
tst_atts3.c fixed warnings 2017-10-25 06:12:59 -06:00
tst_atts.c More refactoring, pushing to avoid accidental loss. 2016-10-21 19:24:40 +00:00
tst_big_rvar.c now run tst_large2, also cleaned up some more warnings 2017-11-24 10:50:07 -07:00
tst_big_var2.c fixed some warnings, added some files to makefile.am to be cleaned 2017-11-26 08:50:16 -07:00
tst_big_var6.c fixed some warnings, added some files to makefile.am to be cleaned 2017-11-26 08:50:16 -07:00
tst_big_var.c Housekeeping on large file tests. 2016-11-18 15:48:58 -07:00
tst_cdf5_begin.c disable CDF5 tests when size_t is less than 8 bytes 2017-09-16 17:35:52 -05:00
tst_cdf5format.c cleaned up, fixed comments 2017-11-06 06:19:34 -07:00
tst_def_var_fill.c Added check for genlib.h 2018-02-02 20:57:55 -06:00
tst_diskless2.c
tst_diskless3.c More refactoring, pushing to avoid accidental loss. 2016-10-21 19:24:40 +00:00
tst_diskless4.c More refactoring, pushing to avoid accidental loss. 2016-10-21 19:24:40 +00:00
tst_diskless5.c Corrected a build issue on windows for tst_diskless5, and updated release notes. 2017-05-04 10:58:18 -06:00
tst_diskless5.cdl Add testcase 2017-05-03 09:58:49 -06:00
tst_diskless.c This completes (for now) the refactoring of libsrc4. 2018-03-16 11:46:18 -06:00
tst_elatefill.c fixed more warnings 2017-10-25 06:22:58 -06:00
tst_formats.c finally got my distcheck act together by moving hdf4 file test to nc_test4 2017-11-23 04:41:03 -07:00
tst_formatx_pnetcdf.c Call nc_close, which calls MPI_File_close, to avoid MPI wraning messages on MPI objects are still allocated. 2017-08-08 16:54:38 -05:00
tst_global_fillval.c Corrected number of formats, oops. 2017-12-20 14:36:04 -07:00
tst_inq_type.c fixed ENABLE_CDF5 issue in some tests 2017-11-05 09:08:39 -07:00
tst_large_cdf5.c Fixed a simple mistake in test organization. 2017-08-11 18:36:44 -06:00
tst_large.c Housekeeping on large file tests. 2016-11-18 15:48:58 -07:00
tst_max_var_dims.c check against NC_MAX_VAR_DIMS (but using NC_EMAXDIMS, maybe a new error code NC_EMAXVARDIMS is needed) 2017-09-21 12:37:33 -05:00
tst_meta.c Corrected second instance of macro. 2018-01-29 11:27:15 -07:00
tst_misc.c now return NC_ENOTBUILT for not built library features 2017-11-13 08:09:15 -07:00
tst_names.c change ENABLE_CDF5 to USE_CDF5 2017-10-20 10:16:19 -05:00
tst_nofill2.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
tst_nofill3.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
tst_nofill.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
tst_norm.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
tst_open_cdf5.c Added include to config.h 2018-02-06 13:14:15 -06:00
tst_parallel2.c change to use Wei-kings' solution 2017-10-25 13:07:17 -06:00
tst_pnetcdf.c Corrected parallel tests in support of https://github.com/Unidata/netcdf-c/issues.321 2016-10-24 22:45:15 +00:00
tst_put_vars.c
tst_small.c Updated tst_small 2017-09-18 15:08:49 -06:00
tst_utf8_phrases.c fixed leaks in tests 2017-10-26 14:50:21 -06:00
tst_utf8_validate.c fixed warning 2017-11-30 05:14:19 -07:00
util.c c: remove __CHAR_UNSIGNED__ 2018-02-14 17:24:49 -05:00