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
Ward Fisher
612b35a84c
Merge branch 'master' into cdf-5, in preparation for merging the CDF-5 functionality into the master branch. This will be the key new feature for netcdf 4.4.0.
2015-11-05 13:40:35 -07:00
Ward Fisher
bf02ded6f4
Merge branch 'ncf344' of https://github.com/Unidata/netcdf-c into ncf344
2015-11-02 12:15:19 -07:00
Ward Fisher
acc4993b19
Changes to modified files.
2015-11-02 12:14:19 -07:00
Ward Fisher
f330e6f11a
[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
Ward Fisher
32eee4bbdb
Removed a stray backslash.
2015-10-30 17:01:33 +00:00
Ward Fisher
4e60400275
Changing some cmake infrastructure re: how tests are built.
2015-10-29 19:50:48 +00:00
Ward Fisher
b7a4f1c7b5
Updated tests so that tst_addvar.c is run after tst_pnetcdf.c
2015-10-29 10:27:31 -06:00
Ward Fisher
d8835b7f35
Replaced my test program with one provided by Wei-keng.
2015-10-29 10:07:33 -06:00
Ward Fisher
4fb7dc9092
Corrected usage of nc_open_par
2015-10-28 11:28:55 -06:00
Ward Fisher
a28a1f865a
Corrected usage of nc_open_par
2015-10-28 11:28:30 -06:00
Ward Fisher
07625e39c2
Fixed an MPI error.
2015-10-28 11:27:36 -06:00
Ward Fisher
117708f464
More work on the parallel bug.
2015-10-28 11:26:23 -06:00
Ward Fisher
183d2b3db0
Using a pre-existing file for a new pnetcdf test.
2015-10-28 11:06:49 -06:00
Ward Fisher
ccad3765ca
Adding a new test for a particular pnetcdf bug. See YRZ-543552.
2015-10-28 10:51:53 -06:00
Ward Fisher
390cd7b892
Updated test files.
2015-10-27 12:25:18 -06:00
Ward Fisher
4aca5795ac
Regenerated source files from m4 to make things work on Windows.
2015-10-21 11:27:41 -06:00
Ward Fisher
a359cb6a53
Reverted some of the spelling corrections. Some misspellings were intentional
2015-10-16 14:36:17 -06:00
Ward Fisher
519a56019f
Merge branch 'fix-typos' of https://github.com/tbeu/netcdf-c into tbeu-fix-typos
2015-10-16 14:16:09 -06:00
dmh
39ccdc5ee3
conflicts
2015-10-11 13:43:19 -06:00
dmh
ed57a337ec
add ptrdiff_t checks
2015-10-11 13:35:44 -06:00
Ward Fisher
490198e03c
Cleaned up generated files.
2015-10-09 17:08:46 -06:00
Ward Fisher
76621d3ae2
Regenerated files.
2015-10-09 13:06:41 -06:00
Dennis Heimbigner
554034b712
1. Added temporary work-around for cygwin where
...
AC_CHECK_SIZEOF is not working because anti-virus
will not allow very rapid creation/deletion of a
file with same name.
2. modified some test baselines to attempt to fix
Ward's issue
2015-10-09 10:33:40 -06:00
Dennis Heimbigner
dccbc87d24
1. Added temporary work-around for cygwin where
...
AC_CHECK_SIZEOF is not working because anti-virus
will not allow very rapid creation/deletion of a
file with same name.
2. modified some test baselines to attempt to fix
Ward's issue
2015-10-09 10:14:45 -06:00
dmh
087ae58ffd
cleanup and squash changes vav master
2015-10-09 10:12:11 -06:00
dmh
49597a64af
merge-squash
2015-10-09 10:12:11 -06:00
tbeu
e2820e4d8a
Fix common typos
...
Detected by https://github.com/vlajos/misspell_fixer
2015-08-20 11:42:05 +02:00