This commit is contained in:
Ward Fisher 2012-10-09 20:55:07 +00:00
parent 4cdfa5d2ba
commit d450b9716d
2 changed files with 2 additions and 8 deletions

View File

@ -5,6 +5,7 @@ INCLUDE_DIRECTORIES(".")
IF(ENABLE_DLL)
ADD_DEFINITIONS(-DDLL_NETCDF)
REMOVE_DEFINITIONS(-DDLL_EXPORT)
ENDIF()
SET(nctest_SRC add.c atttests.c cdftests.c dimtests.c driver.c emalloc.c error.c misctest.c rec.c slabs.c val.c vardef.c varget.c vargetg.c varput.c varputg.c vartests.c vputget.c vputgetg.c)

View File

@ -18,9 +18,6 @@
#include "testcdf.h" /* defines in-memory test netcdf structure */
#include "tests.h"
//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. */
#ifdef USE_NETCDF4
@ -29,14 +26,10 @@
#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;