[svn-r10236] Purpose: Added a util wrapper

Description:
    Added function IncTestNumErrs to increment the number of errors
    that is defined in testframe.c

Platforms tested:
    Linux 2.4 (heping)
    AIX 5.1 (copper)
This commit is contained in:
Binh-Minh Ribler 2005-03-19 09:11:40 -05:00
parent 821104ae47
commit 5463c0a62b
2 changed files with 10 additions and 0 deletions

View File

@ -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);

View File

@ -415,6 +415,15 @@ int GetTestNumErrs(void)
return(num_errs);
}
/*
* Increment the number of testing errors
*/
void IncTestNumErrs(void)
{
num_errs++;
}
/*
* Retrieve the current Test Parameters pointer.