mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-01-18 15:55:12 +08:00
More work trying to figure out why nctest is failing
This commit is contained in:
parent
7c8ce85a5f
commit
f7ffc9af09
@ -66,6 +66,7 @@ main(int argc, char **argv)
|
||||
testfile = testfiles[i];
|
||||
|
||||
/* Run all the tests for this format. */
|
||||
|
||||
nerrs += test_nccreate(testfile);
|
||||
nerrs += test_ncopen(testfile);
|
||||
nerrs += test_ncredef(testfile);
|
||||
@ -81,6 +82,7 @@ main(int argc, char **argv)
|
||||
nerrs += test_ncvardef(testfile);
|
||||
nerrs += test_ncvarid(testfile);
|
||||
nerrs += test_ncvarinq(testfile);
|
||||
nerrs += test_ncvarputg(testfile);
|
||||
nerrs += test_ncvarput1(testfile);
|
||||
nerrs += test_ncvarget1(testfile);
|
||||
nerrs += test_ncvarput(testfile);
|
||||
|
@ -80,7 +80,7 @@ test_varputgetg(cdfid)
|
||||
? nctypelen(test.vars[iv].type)
|
||||
: hc[0].imap[id+1] * hc[0].npts[id+1];
|
||||
nel[0] *= hc[0].npts[id];
|
||||
if (id == 0)
|
||||
if (id <= 0)
|
||||
hc[0].offset = 0;
|
||||
|
||||
/* start at "upper-right" corner, do one point */
|
||||
|
Loading…
Reference in New Issue
Block a user