Wei-keng Liao
340f0d2a91
Classic Format Specification says: Header padding uses null (\x00) bytes
2016-11-28 11:54:16 -06:00
Wei-keng Liao
ab73a57fca
Merge branch 'master' into issue258
2016-11-25 10:49:03 -06:00
Ward Fisher
b4785f4081
Housekeeping on large file tests.
2016-11-18 15:48:58 -07:00
Wei-keng Liao
33865dfbf8
skip tests that are incompatible with the earlier PnetCDF versions, eg. 1.6.0, 1.6.1 and 1.7.0
2016-11-18 01:29:59 -06:00
Wei-keng Liao
38e40a14d2
sync with PnetCDF nc_test files (add a few more testings)
2016-11-14 11:19:23 -06:00
Wei-keng Liao
2081ae7099
add configure option --enable-relax-coord-bound for issue #243
2016-11-12 23:58:09 -06:00
Wei-keng Liao
e357696c8d
sync with PnetCDF on use of NC_ENULLSTART and NC_ENULLCOUNT
2016-11-04 17:29:40 -05:00
Wei-keng Liao
06c1f744e8
silence gcc compile warnings when using -Wconversion
2016-10-30 00:44:28 -05:00
Wei-keng Liao
04e5ff4c74
sync with master branch
2016-10-28 11:54:25 -05:00
Wei-keng Liao
309303e34e
remove argument fillv for get APIs as we use default fill values for fillv
2016-10-28 10:34:51 -05:00
Wei-keng Liao
f19e4ce81e
sync m4 files with PnetCDF
2016-10-25 15:11:16 -05:00
Wei-keng Liao
87fab92924
match type of a subroutine argument
2016-10-25 13:28:38 -05:00
Wei-keng Liao
d78ec898e5
SCHAR_MAX is 127, not 128
2016-10-25 13:21:54 -05:00
Ward Fisher
b37784ed7f
Corrected parallel tests in support of https://github.com/Unidata/netcdf-c/issues.321
2016-10-24 22:45:15 +00:00
Ward Fisher
1c11fc5d59
More refactoring, pushing to avoid accidental loss.
2016-10-21 19:24:40 +00:00
Ward Fisher
157af11bc2
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
Wei-keng Liao
08afcf1f88
add missing tests from the original netCDF
2016-10-13 13:25:16 -05:00
Wei-keng Liao
6737a38a24
add back a fix for NC_EDIMSIZE
2016-10-13 03:26:08 -05:00
Wei-keng Liao
beac085c7d
more updates due to renaming test_read.c and test_write.c to m4 files
2016-10-13 02:56:50 -05:00
Wei-keng Liao
ac86d8c9fb
Update CMakeLists.txt due to test_read.c and test_write.c have been renamed to m4 files
2016-10-13 02:25:21 -05:00
Wei-keng Liao
3a93d84a67
borrow some m4 files from PnetCDF
2016-10-13 02:17:31 -05:00
Wei-keng Liao
fbbed1f9ff
move ncid check to the first and add varid check before name check
2016-10-13 02:12:26 -05:00
Wei-keng Liao
c4a148e136
type cast (char) before comparison
2016-10-10 00:20:23 -05:00
Wei-keng Liao
835ff7cd1e
make test subroutine return nok, add comments on X_CHAR_MIN and X_CHAR_MAX
2016-10-09 22:18:46 -05:00
Wei-keng Liao
9cf01256cf
revise sunroutine equal, add equal2 for matched ityep and xtype APIs, and add nc_err_code_name
2016-10-09 22:16:09 -05:00
Wei-keng Liao
ecc851b21c
borrow PnetCDF test_put.m4
2016-10-09 22:13:40 -05:00
Wei-keng Liao
aacb3c2e11
borrow PnetCDF test_get.m4
2016-10-09 22:13:30 -05:00
Wei-keng Liao
0eff6cb128
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
Wei-keng Liao
e1643f9fd8
handle special case when calling _uchar APIs to access NC_BYTE attributes/variables in CDF-2 file format (no NC_ERANGE check)
2016-10-06 00:50:52 -05:00
Wei-keng Liao
f8813bbd04
handle special case when calling _uchar APIs to access NC_BYTE attributes in CDF-2 file format
2016-10-06 00:49:13 -05:00
Ward Fisher
486f69522c
Merged utility-based tests fix into cmake-based builds.
2016-08-31 15:48:10 -06:00
Ward Fisher
b2e4b74e3a
Restricted tests from running when they require the utilities but the utilities were not built, in autoconf-based tests. See https://github.com/Unidata/netcdf-c/issues/313 for more information.
2016-08-31 15:38:59 -06:00
Greg Sjaardema
2bfd984fad
Update testing -- not error if start==size
2016-07-21 09:30:18 -06:00
Dennis Heimbigner
11a259ad86
Add provenance info for netcdf-4 files.
...
This consists of a persistent attribute named
_NCProperties plus two computed attributes
_IsNetcdf4 and _SuperblockVersion.
See the 'Provenance Attributes' section
of docs/attribute_conventions.md for details.
2016-05-07 14:32:07 -06:00
Ward Fisher
baec7157a3
Clean up lingering 'make distcheck' errors.
2016-04-12 09:48:21 -06:00
Ward Fisher
33e43e15f1
Merge branch 'master' into gh240 in preparation for final merge.
2016-04-05 20:28:03 +00:00
Ward Fisher
d8592ef380
Updated tests now that things are passing. Added some true failures to test for as well.
2016-04-05 20:25:49 +00:00
Ward Fisher
829036ab7f
Corrected an issue with out-of-source-tree builds, in support of https://github.com/Unidata/netcdf-c/issues/242
2016-04-04 15:27:22 -06:00
Ward Fisher
aa6a3969b7
Included expected failures for netcdf-3 files and nc_inq_type.
2016-03-30 15:03:20 -06:00
Ward Fisher
7adad14ec7
Further fleshing out the test.
2016-03-28 19:19:21 +00:00
Ward Fisher
5a5295406d
Updated test.
2016-03-28 19:12:11 +00:00
Ward Fisher
a369ddb0bb
Fleshed out test for nc_inq_type
2016-03-28 18:49:56 +00:00
Ward Fisher
93641eb2d6
Refactored types test.
2016-03-28 18:29:47 +00:00
Ward Fisher
69911758a9
Made a small change to ifFail to accomodate PGI compilers.
2016-03-23 16:48:15 -06:00
Ward Fisher
79c021712a
Removed generated tests from source control. Ensuring generated files are regenerated if m4 is present.
2016-01-22 12:03:28 -07:00
Ward Fisher
2d25f9b915
Updated CMakeLists to explicitely look for static or shared hdf5 libraries. Required as part of hdf5 1.8.16, and is documented in https://github.com/Unidata/netcdf-c/issues/186
2016-01-07 14:11:44 -07:00
Ward Fisher
023356ba9b
Fixed typos.
2015-12-29 12:39:35 -07:00
Ward Fisher
19cfaa9308
A bit of cleaning up for the merge into master.
2015-12-29 11:12:50 -07:00
Ward Fisher
cee769cc1e
Converting CHAR_IS_SIGNED over to autoconf-style __CHAR_UNSIGNED__
2015-12-28 21:27:27 +00:00
Ward Fisher
90541e6c17
Cleanup: Removing temporary tests.
2015-12-28 21:17:25 +00:00