diff options
-rw-r--r-- | test/h5test.h | 1 | ||||
-rw-r--r-- | test/testframe.c | 9 |
2 files changed, 10 insertions, 0 deletions
diff --git a/test/h5test.h b/test/h5test.h index ac73506..00d3367 100644 --- a/test/h5test.h +++ b/test/h5test.h @@ -135,6 +135,7 @@ H5TEST_DLL int GetTestSummary(void); H5TEST_DLL int GetTestCleanup(void); H5TEST_DLL void ParseTestVerbosity(char *argv); H5TEST_DLL int GetTestNumErrs(void); +H5TEST_DLL void IncTestNumErrs(void); H5TEST_DLL const void *GetTestParameters(void); H5TEST_DLL int TestErrPrintf(const char *format, ...); H5TEST_DLL void SetTest(const char *testname, int action); diff --git a/test/testframe.c b/test/testframe.c index bebc612..28e90ca 100644 --- a/test/testframe.c +++ b/test/testframe.c @@ -417,6 +417,15 @@ int GetTestNumErrs(void) /* + * Increment the number of testing errors + */ +void IncTestNumErrs(void) +{ + num_errs++; +} + + +/* * Retrieve the current Test Parameters pointer. */ const void *GetTestParameters(void) |