mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-21 03:13:42 +08:00
This commit is contained in:
parent
4cdfa5d2ba
commit
d450b9716d
@ -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)
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user