summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/h5test.c3
-rw-r--r--test/h5test.h2
-rw-r--r--test/testhdf5.c1
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