mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-21 01:04:10 +08:00
[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:
parent
821104ae47
commit
5463c0a62b
@ -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);
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user