Commit Graph

203 Commits

Author SHA1 Message Date
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
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