From 9687555c988cd2455d15589e6fa586ab0677b62d Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Tue, 13 Mar 2018 13:46:56 -0500 Subject: [PATCH] Move epicsExit() call into pvAccessAllTests() Needed on VxWorks to display the test summary. --- testApp/pvAccessAllTests.c | 3 ++- testApp/rtemsTestHarness.c | 2 -- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/testApp/pvAccessAllTests.c b/testApp/pvAccessAllTests.c index e9a299e..c4932fc 100644 --- a/testApp/pvAccessAllTests.c +++ b/testApp/pvAccessAllTests.c @@ -8,6 +8,7 @@ #include #include #include +#include /* utils */ int testAtomicBoolean(void); @@ -31,5 +32,5 @@ void pvAccessAllTests(void) runTest(testCodec); runTest(testChannelAccess); + epicsExit(0); /* Trigger test harness */ } - diff --git a/testApp/rtemsTestHarness.c b/testApp/rtemsTestHarness.c index 0b22320..d2042f7 100644 --- a/testApp/rtemsTestHarness.c +++ b/testApp/rtemsTestHarness.c @@ -5,7 +5,6 @@ #include "rtemsNetworking.h" -#include #include rtems_task @@ -33,5 +32,4 @@ Init (rtems_task_argument ignored) extern void pvAccessAllTests(void); pvAccessAllTests(); - epicsExit(0); }