From ec228ca7a4cb1c9507b0fc3ed31ac9c309a8d25e Mon Sep 17 00:00:00 2001 From: Ed Hartnett Date: Tue, 19 Feb 2019 13:39:08 -0700 Subject: [PATCH] further test development --- tests/cunit/test_perf1.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/cunit/test_perf1.c b/tests/cunit/test_perf1.c index 6bf79a2de0a..9543eaee730 100644 --- a/tests/cunit/test_perf1.c +++ b/tests/cunit/test_perf1.c @@ -36,7 +36,7 @@ #define Z_DIM_LEN 4 /* The number of timesteps of data to write. */ -#define NUM_TIMESTEPS 1 +#define NUM_TIMESTEPS 2 /* The number of 4D vars. */ #define NUM_VARS 2 @@ -225,7 +225,7 @@ int test_perf1(int iosysid, int ioid, int num_flavors, int *flavor, int my_rank, /* Write a timestep of data. */ { /* Set the value of the record dimension. */ - if ((ret = PIOc_setframe(ncid, varid, 0))) + if ((ret = PIOc_setframe(ncid, varid, t))) ERR(ret); int frame = 0;