diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2004-01-06 03:17:16 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2004-01-06 03:17:16 (GMT) |
commit | 89f5220d6687aa1ff3c3d19c8b05859887ecadbd (patch) | |
tree | 07701979f5f888d69d648621e18e1f2a4e37bf15 /test | |
parent | 1b4b706db78cd565da6671fdcfd375a94a6d6702 (diff) | |
download | hdf5-89f5220d6687aa1ff3c3d19c8b05859887ecadbd.zip hdf5-89f5220d6687aa1ff3c3d19c8b05859887ecadbd.tar.gz hdf5-89f5220d6687aa1ff3c3d19c8b05859887ecadbd.tar.bz2 |
[svn-r8020] Purpose:
Bug fix.
Description:
Cleaned up a duplicated definition of MAXNUMOFTEST that copper could
not tolerate.
Platforms tested:
"h5committested"
Diffstat (limited to 'test')
-rw-r--r-- | test/h5test.c | 3 | ||||
-rw-r--r-- | test/h5test.h | 2 | ||||
-rw-r--r-- | test/testhdf5.c | 1 |
3 files changed, 3 insertions, 3 deletions
diff --git a/test/h5test.c b/test/h5test.c index 0d8f0c2..79c9da8 100644 --- a/test/h5test.c +++ b/test/h5test.c @@ -812,7 +812,8 @@ void InitTest(const char *TheName, void (*TheCall) (void), void (*Cleanup) (void), const char *TheDescr) { if (Index >= MAXNUMOFTESTS) { - printf("Uh-oh, too many tests added, increase MAXNUMOFTEST!\n"); + printf("Too many tests added, increase MAXNUMOFTEST(%d).\n", + MAXNUMOFTESTS); exit(-1); } /* end if */ HDstrcpy(Test[Index].Description, TheDescr); diff --git a/test/h5test.h b/test/h5test.h index acaa197..af709b4 100644 --- a/test/h5test.h +++ b/test/h5test.h @@ -65,7 +65,7 @@ extern MPI_Info h5_io_info_g; /* MPI INFO object for IO */ /* * Definitions for the InitTest(). */ -#define MAXNUMOFTESTS 50 +#define MAXNUMOFTESTS 30 extern int Index; typedef struct TestStruct { int NumErrors; diff --git a/test/testhdf5.c b/test/testhdf5.c index c6b74ee..f246e08 100644 --- a/test/testhdf5.c +++ b/test/testhdf5.c @@ -40,7 +40,6 @@ #include <stdarg.h> #include "h5test.h" -#define MAXNUMOFTESTS 30 #define HDF5_TEST_MASTER |