This commit is contained in:
Ward Fisher 2012-10-09 19:54:36 +00:00
parent b85573ea75
commit 4cdfa5d2ba
3 changed files with 7 additions and 4 deletions

View File

@ -17,7 +17,6 @@
#define LEN_OF(array) ((sizeof array) / (sizeof array[0]))
int ncerr = NC_NOERR;
/*
* Test nccreate

View File

@ -18,7 +18,8 @@
#include "testcdf.h" /* defines in-memory test netcdf structure */
#include "tests.h"
int ncopts = (NC_FATAL | NC_VERBOSE);
//int ncopts = 0;//(NC_FATAL | NC_VERBOSE);
//int ncerr = NC_NOERR;
/* Test everything for classic and 64-bit offsetfiles. If netcdf-4 is
* included, that means another whole round of testing. */
@ -28,10 +29,14 @@ int ncopts = (NC_FATAL | NC_VERBOSE);
#define NUM_FORMATS (2)
#endif
EXTERNL int ncopts;
EXTERNL int ncerr;
int
main(int argc, char **argv)
{
EXTERNL int ncopts; /* netCDF error options */
//EXTERNL int ncopts; /* netCDF error options */
char *testfiles[] = {"nonesuch", "nctest_classic.nc",
"nctest_64bit_offset.nc", "nctest_netcdf4.nc"};
char *testfile;

View File

@ -14,7 +14,6 @@
#include <netcdf.h>
#include "error.h"
static int error_count = 0;
/*