From 7e592e09f49d21b5c57bcb5831ce0cf85a654c72 Mon Sep 17 00:00:00 2001 From: Dennis Heimbigner Date: Tue, 30 Apr 2024 14:06:21 -0600 Subject: [PATCH] debug1 --- ncdap_test/test_vara.c | 6 +++--- ncdump/tst_nccopy3.sh | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/ncdap_test/test_vara.c b/ncdap_test/test_vara.c index bc1e582b26..1d634c9688 100644 --- a/ncdap_test/test_vara.c +++ b/ncdap_test/test_vara.c @@ -53,8 +53,8 @@ typedef struct Odom { size_t* count; } Odom; -#ifdef IGNORE -static float threeD_data[X*Y*Z]; +#ifdef NOCODE +static float threeD_data[X][Y][Z]; static int dims[RANK] = {X,Y,Z}; #endif static float threeD[X][Y][Z]; @@ -219,7 +219,7 @@ static size_t odom_count(Odom* odom) return offset; } -#ifdef IGNORE +#ifdef NOCODE static float threeD_data[X][Y][Z] = { 1, 0.999950000416665, 0.999800006666578, 0.999550033748988, 0.999200106660978, 0.998750260394966, 0.998200539935204, diff --git a/ncdump/tst_nccopy3.sh b/ncdump/tst_nccopy3.sh index f7667c5307..0e0331f1b2 100755 --- a/ncdump/tst_nccopy3.sh +++ b/ncdump/tst_nccopy3.sh @@ -1,4 +1,5 @@ #!/bin/sh +export SETX=1 # For a netCDF-3 build, test nccopy on netCDF files in this # directory. This test depends on a bunch of other ncdump tests # running first, to produce the data files that are used to test