Add cvtFastPerform to test harness.
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
#include "epicsStdio.h"
|
||||
#include "cvtFast.h"
|
||||
#include "epicsTime.h"
|
||||
#include "testMain.h"
|
||||
|
||||
|
||||
typedef void ( * PTestFunc ) ( const double &, char * pBug, size_t bufSize );
|
||||
@@ -129,7 +130,7 @@ void TestSNPrintf :: _target ()
|
||||
static_cast < int > ( _prec ), _srcVal );
|
||||
}
|
||||
|
||||
int main ()
|
||||
MAIN(cvtFastPerform)
|
||||
{
|
||||
TestCvtFastDouble testCvtFastDouble;
|
||||
TestSNPrintf testSNPrintf;
|
||||
|
||||
@@ -36,6 +36,7 @@ int ringPointerTest(void);
|
||||
int ringBytesTest(void);
|
||||
int blockingSockTest(void);
|
||||
int taskwdTest(void);
|
||||
int cvtFastPerform(void);
|
||||
int epicsExitTest(void);
|
||||
|
||||
void epicsRunLibComTests(void)
|
||||
@@ -90,6 +91,8 @@ void epicsRunLibComTests(void)
|
||||
|
||||
runTest(taskwdTest);
|
||||
|
||||
runTest(cvtFastPerform);
|
||||
|
||||
/*
|
||||
* Exit must come last as it never returns
|
||||
*/
|
||||
|
||||
@@ -6,11 +6,13 @@
|
||||
\*************************************************************************/
|
||||
|
||||
#include "epicsExit.h"
|
||||
#include "epicsGeneralTime.h"
|
||||
|
||||
int
|
||||
main(int argc, char **argv)
|
||||
{
|
||||
extern void epicsRunLibComTests(void);
|
||||
generalTimeReport(1);
|
||||
epicsRunLibComTests();
|
||||
epicsExit(0);
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user