Commit Graph

207 Commits

Author SHA1 Message Date
Ward Fisher
3a792b1fb2 Remove the [NCF-332] temp file on failure. 2015-05-29 10:23:24 -06:00
Ward Fisher
ea8f1d9027 Fleshed out [NCF-332] test to check all little-endian variable types supported, and also added some true-negative/expected failure tests. Next up is regression testing and then merging into master. 2015-05-29 09:49:20 -06:00
Ward Fisher
d5d1efbcdb Refactoring and expanding [NCF-332] test. 2015-05-29 09:22:38 -06:00
Ward Fisher
0ed84b406b Fleshed out a test that *should* start passing, once we've fixed issue [NCF-332] 2015-05-28 17:21:01 -06:00
Ward Fisher
64e0d2a44e Added a new test for h4 endianness. [NCF332] 2015-05-28 17:13:15 -06:00
Ward Fisher
4fecd37ba7 Refactored tst_h_endians to tst_h5_endians, so that we can differentiate between hdf5 and hdf4 endian tests. 2015-05-28 16:29:49 -06:00
Ward Fisher
c9d7c88f63 Added a stanza for 'NC_DOUBLE' into the recently-added endians test. 2015-05-18 10:55:17 -06:00
Ward Fisher
5eb90c3a66 Cleaned up an unnecessary test, added refactored nc4 test to autotools. 2015-05-15 15:31:38 -06:00
Ward Fisher
9d98aab40a Refactored test. 2015-05-15 15:29:29 -06:00
Ward Fisher
99ef1624bc Regarding [NCF-331], the issues appears to have been in nc4file.c:get_type_info2(). The call to H5Tget_order() was only happening for H5T_Float. According to the documentation, this works for all datatypes as of hdf5 1.8.6. This tentatively fixes the bug reported, but additional testing (and cleanup from debugging) is needed. 2015-05-15 14:24:27 -06:00
Ward Fisher
de29c4d0a8 Tweaked tests for additional debugging. 2015-05-15 13:11:46 -06:00
Ward Fisher
999f4e5720 Additional debugging, modified the LOGGING functions somewhat. Also modified ncdump to print 'native' endianness. This may be removed before merging back into trunk. 2015-05-14 17:22:07 -06:00
Ward Fisher
fa1d61b980 Additional debugging for [NCF-331] 2015-05-12 13:52:52 -06:00
Ward Fisher
6eff077ed5 Incorporated endian test for [NCF-331] into autotools. 2015-05-12 13:00:22 -06:00
Ward Fisher
c43f9dee63 Refined test for [NCF-331]. 2015-05-11 15:58:47 -06:00
Ward Fisher
659172816b Added a new test. 2015-05-11 15:01:31 -06:00
Ward Fisher
ee3daa3267 Added a test contributed by Jeff Whitaker. See https://github.com/Unidata/netcdf-c/issues/112 or [NCF-331] for more information. 2015-05-11 14:52:16 -06:00
Russ Rew
ab18a2e17c Fix bug NCF-187 (thanks to Alexander Barth). Add test for bug fix. 2015-04-02 12:30:51 -06:00
Russ Rew
6a6e8c08a6 added test case for ncf-187, haven't added fix yet 2015-04-01 15:09:27 -06:00
Quincey Koziol
aede522766 Mark dataset attributes dirty when one is renamed. 2015-02-25 09:25:40 -06:00
Ward Fisher
261e7511cc Modified group rename shell script to work in Msys/Windows Environment. 2015-02-02 14:46:51 -07:00
Ward Fisher
2d72b7ca7f More work on getting the shell scripts working properly with cmake under MSYS. 2015-02-02 14:46:50 -07:00
Russ Rew
db83a3be4c Jira issue NCF-314, "Provide replacement for using numeric values of -k
option on nccopy and ncgen".
2014-12-29 13:07:28 -07:00
Russ Rew
9a60dc612f Use short "-k" codes instead of deprecated version numbers for ncgen and nccopy tests 2014-12-28 22:42:05 -07:00
Ubuntu
a33d21cf34 Merge branch 'master' into NCF-177 2014-12-15 14:27:36 +00:00
Russ Rew
eaf8ef61e0 resolved conflict 2014-12-09 13:31:20 -07:00
Russ Rew
97b49d1421 Fix (harmless) confusion between varid and dimid names 2014-12-05 12:47:45 -07:00
Quincey Koziol
86d47170ee Update with tests from ticket. 2014-12-02 08:35:36 -06:00
Quincey Koziol
5749c5178a Remove useless assignment. 2014-11-07 08:26:46 -06:00
vagrant
534d24c689 Changed test order to resolve dependency which caused an issue on centos platforms. 2014-08-29 16:30:28 -06:00
Ward Fisher
b04d49166c Fence-posted hdf4-related shell script tests on Windows. 2014-08-29 11:27:55 -06:00
Ward Fisher
b25dbcd24a Added an explicit error message string to nc_strerror for NC_ECANTEXTEND. 2014-08-18 14:24:16 -06:00
Russ Rew
a71e1acb67 Use curl instead of wget to get hdf4 files when --enable-hdf4-tests specified 2014-07-20 17:14:17 -06:00
Ward Fisher
7f812b367e Manual merge of pull request https://github.com/Unidata/netcdf-c/pull/64 contributed by nschloe. Assorted CMake improvements. 2014-06-11 15:51:31 -06:00
dmh
4de1b58df2 [NCF-272]
There was a problem with the
distcheck testing since the test input files
are in ${src_dir} and the test is in ${build_dir}.
So modify run_chunk_hdf4 to copy as necessary.
2014-05-31 13:54:52 -06:00
dmh
ff60798bb1 Add CMAKE for hdf4 chunking 2014-05-30 22:16:19 -06:00
dmh
b560fe1233 [NCF-272]
It turns out that HDF4 supports chunking
(and compression). However the existing
HDF4 code does not support it.
So add HDF4 support for chunking.
Also add a test case.
2014-05-30 22:12:05 -06:00
Quincey Koziol
435d8a03ed Account for the HDF5 library not having the MPI-POSIX VFD configured in. 2014-05-07 08:45:15 -05:00
Ward Fisher
44fae42214 Cleaned up indentation, white space in multiple CMakeLists.txt files. 2014-04-21 11:15:33 -06:00
Ward Fisher
cf7763645c Corrected an issue with tst_v2 on Windows. 2014-04-11 14:32:16 -06:00
Ward Fisher
74209d373e Corrected an issue with disabling the V2 API support in cmake-based builds. 2014-04-03 10:45:22 -06:00
Ward Fisher
874c768afb Fixed issue when running parallel tests in a CMake build, as reported in issue 38 on github. 2014-03-13 10:59:21 -06:00
Quincey Koziol
fe9e0b056d Update HDF4 support for recent datatype changes. 2014-02-25 21:05:19 -06:00
Quincey Koziol
fd981824c1 Correct handling of variablen-length sequences for attributes, plus uncomment a
bunch of tests that stress this area of the library.

Also clean up some compiler warnings in the dispatch code.
2014-02-14 08:07:14 -06:00
Quincey Koziol
4bfd9b27a0 Merge remote-tracking branch 'upstream/master'
Conflicts:
	libdap2/common34.c
	oc2/ocutil.c
2014-02-11 17:26:09 -06:00
Quincey Koziol
b2dfacbcfa Big clean up to type handling in libsrc4, which makes fill-values work
correctly for variables with string datatype, plus a few other minor changes.
2014-02-11 17:12:08 -06:00
Ward Fisher
8aee60dd43 Reordered HDF4 test calls in CMakeLists.txt in nc_test4 to remove an error caused by running tests out of order. 2014-02-07 09:37:17 -07:00
Ward Fisher
feaaf7e779 Added missing test script to EXTRA_DIST in makefile.am. 2014-02-06 11:32:45 -07:00
Ward Fisher
0032af978b Added INQ_FORMAT_EXTENDED-related tests to the cmake build system (based on inclusion in autotools-based builds). 2014-01-16 13:14:49 -07:00
Quincey Koziol
cd71eb525c Corrected "BAIL" macros to avoid infinite loop when logging is disabled and an
error occurs after an "exit:" label.

Corrected a dozen Coverity errors (mainly allocation issues, along with a few
    other things):
        711711, 711802, 711803, 711905, 970825, 996123, 996124, 1025787,
        1047274, 1130013, 1130014, 1139538

Refactored internal fill-value code to correctly handle string types, and
    especially to allow NULL pointers and null strings (ie. "") to be
    distinguished.  The code now avoids partially aliasing the two together
    (which only happened on the 'write' side of things and wasn't reflected on
    the 'read' side, adding to the previous confusion).

    Probably still weak on handling fill-values of variable-length and compound
    datatypes.

Refactored the recursive metadata reads a bit more, to process HDF5 named
    datatypes and datasets immediately, avoiding chewing up memory for those
    types of objects, etc.

Finished uncommenting and updating the nc_test4/tst_fills2.c code (as I'm
    proceeding alphabetically through the nc_test4 code files).
2013-12-29 01:12:43 -06:00