From d1d754b6fd5c13cb14243f9d33b20f57891e3363 Mon Sep 17 00:00:00 2001 From: Jim Edwards Date: Wed, 14 Feb 2018 07:02:05 -0700 Subject: [PATCH] fix test --- tests/cunit/test_darray_frame.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/cunit/test_darray_frame.c b/tests/cunit/test_darray_frame.c index 38c7e99e8a4..ad811afe8b2 100644 --- a/tests/cunit/test_darray_frame.c +++ b/tests/cunit/test_darray_frame.c @@ -37,7 +37,7 @@ #define LON_LEN_SHORT 2 /* The number of timesteps of data to write. */ -#define NUM_TIMESTEPS 2 +#define NUM_TIMESTEPS 3 /* The names of variable in the netCDF output files. */ #define VAR_NAME "prc" @@ -120,7 +120,7 @@ int test_frame_simple(int iosysid, int num_iotypes, int *iotype, int my_rank, ERR(ret); /* Write records of data. */ - for (int r = 0; r < TIME_LEN_SHORT; r++) + for (int r = 0; r < NUM_TIMESTEPS; r++) { int test_data_int[elements_per_pe];