Ward Fisher
e5fb53f996
Restored line that was accidentally removed.
2017-03-29 11:38:59 -06:00
Ward Fisher
6b036cfc28
Adding test in support of https://github.com/Unidata/netcdf-c/issues/384
2017-03-29 11:23:47 -06:00
Dennis Heimbigner
47daf33074
Resolves Github issue https://github.com/Unidata/netcdf-c/issues/349 .
...
Update utf8proc.[ch] to use the version now
maintained by the Julia Language project
(https://github.com/JuliaLang/utf8proc/blob/master/LICENSE.md ).
The license for the previous version was
unacceptable for the Debian and Ubuntu release
systems. The new version both updates the code
and addresses the license issue.
It turns out that the utf8proc software we are using
was turned over to the Julia Language developers
and the license terms changed to allow modification.
(https://github.com/JuliaLang/utf8proc/blob/master/LICENSE.md ).
So the fix here is as follows:
1. Wrap the library with a fixed interface: libdispatch/dutf8.c
and include/ncutf8.h.
2. Replace the existing utf8proc code with the new version
from https://github.com/JuliaLang/utf8proc .
3. Add a couple more test cases: nc_test/tst_utf8_validate.c
and nc_test_utf8_phrases.c. If/when I can find a usable
normalization test, I will incorporate that later.
2017-02-16 14:27:54 -07:00
Ward Fisher
b4785f4081
Housekeeping on large file tests.
2016-11-18 15:48:58 -07: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
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
Ward Fisher
8e4a8f4225
Chasing down implicit char cast which rounds a value to 0 when a negative value is cast to a different unsigned type.
2015-12-28 20:24:56 +00:00
Ward Fisher
bd92caa176
More changes towards fixing the issue where the file is read incorrectly.
2015-12-28 17:36:05 +00:00
Ward Fisher
925da14d2a
Some additional errors reared up after fixing the main frustrating one. Working towards fixing them.
2015-12-24 01:37:42 +00:00
Ward Fisher
d10688a6fb
Issue identified, see https://github.com/Unidata/netcdf-c/issues/159 for specifics. Also see http://stackoverflow.com/questions/10541200/is-the-behaviour-of-casting-a-negative-double-to-unsigned-int-defined-in-the-c-s for some background info that lead me to the fix.
2015-12-23 22:08:13 +00:00
Ward Fisher
3e2a1cc540
Tweaking the test a little bit
2015-12-23 21:29:30 +00:00
Ward Fisher
8e3c7febf3
More tweaks during debugging.
2015-12-23 21:21:57 +00:00
Ward Fisher
bd6f4909cf
Captured a conversion error.
2015-12-23 21:17:53 +00:00
Ward Fisher
4d9cb910ca
Closer to replicating I think.
2015-12-23 13:00:16 -07:00
Ward Fisher
f83ec50bd0
I think we have this recreated as we would expect.
2015-12-23 19:40:05 +00:00
Ward Fisher
a0de63bcce
Additional tweaking of the test.
2015-12-22 23:08:20 +00:00
Ward Fisher
7bf5012481
Duplicating the issue we've observed by forcing an overflow error.
2015-12-22 23:04:16 +00:00
Ward Fisher
5cb4efe02a
Tweaked new test.
2015-12-22 15:48:05 -07:00
Ward Fisher
52f0fc8986
Added a test derived from nc_test2 cdf5 test data, for github issue http://github.com/Unidata/netcdf-c/issues/159
2015-12-22 15:44:57 -07:00
Ward Fisher
4055a81b57
Fixed a dangling issue with writing text.
2015-12-22 21:07:30 +00:00
Ward Fisher
b66e37755f
Fixed an unsigned-char related issue in test_nc_rename_att.
2015-12-22 13:13:45 -07:00
Ward Fisher
c6fd79dd3a
Fixed unsigned char issue in check_atts.
2015-12-22 13:12:31 -07:00
Ward Fisher
92d374cbad
Addressed an issue in check_vars when -funsigned-chars
2015-12-22 13:10:09 -07:00
Ward Fisher
60fc0f1181
Fixed an implicit cast in nc2dbl that caused problems when char was unsigned by default.
2015-12-22 13:07:00 -07:00
Ward Fisher
b40f10ee7e
nc_test2 is now fixed, but we are seeing issues related to text attributes in nc_test, when -funsigned-char is set in CFLAGS.
2015-12-22 12:59:07 -07:00
Ward Fisher
c0e32ddb80
Fixed text-related range error, now observing value read not expected.
2015-12-22 12:39:16 -07:00
Ward Fisher
f41058c5d4
Fixed range error for signed char test, now we have a range error for nc_get_var_text.
2015-12-22 12:17:00 -07:00
Ward Fisher
2ea988f84d
Added a check for signed char.
2015-12-22 12:02:18 -07:00
Ward Fisher
9d4e72e75f
Added a test case for bug.
2015-12-22 11:39:24 -07:00