Move epicsExit() call into pvAccessAllTests()

Needed on VxWorks to display the test summary.
This commit is contained in:
Andrew Johnson
2018-03-13 13:46:56 -05:00
parent 802efbd6c1
commit 9687555c98
2 changed files with 2 additions and 3 deletions

View File

@ -8,6 +8,7 @@
#include <stdio.h> #include <stdio.h>
#include <epicsThread.h> #include <epicsThread.h>
#include <epicsUnitTest.h> #include <epicsUnitTest.h>
#include <epicsExit.h>
/* utils */ /* utils */
int testAtomicBoolean(void); int testAtomicBoolean(void);
@ -31,5 +32,5 @@ void pvAccessAllTests(void)
runTest(testCodec); runTest(testCodec);
runTest(testChannelAccess); runTest(testChannelAccess);
epicsExit(0); /* Trigger test harness */
} }

View File

@ -5,7 +5,6 @@
#include "rtemsNetworking.h" #include "rtemsNetworking.h"
#include <epicsExit.h>
#include <osdTime.h> #include <osdTime.h>
rtems_task rtems_task
@ -33,5 +32,4 @@ Init (rtems_task_argument ignored)
extern void pvAccessAllTests(void); extern void pvAccessAllTests(void);
pvAccessAllTests(); pvAccessAllTests();
epicsExit(0);
} }