From 9b305e5e2bd3b3e2fbc5c030b291ef171ca68fed Mon Sep 17 00:00:00 2001 From: mrkraimer Date: Tue, 15 May 2018 09:11:05 -0400 Subject: [PATCH] try to make travis BRBASE builds succeed --- testCa/Makefile | 2 ++ testCa/testCaProvider.cpp | 16 ++-------------- 2 files changed, 4 insertions(+), 14 deletions(-) diff --git a/testCa/Makefile b/testCa/Makefile index c2700f0..4300613 100644 --- a/testCa/Makefile +++ b/testCa/Makefile @@ -15,6 +15,8 @@ testHarness_SRCS += testCaProvider.cpp TESTS += testCaProvider testHarness_SRCS += pvCaAllTests.c +# testCaProvider needs EPICS_HOST_ARCH set in the environment +export EPICS_HOST_ARCH # Name the application caTestHarness caTestHarness_SRCS = $(testHarness_SRCS) diff --git a/testCa/testCaProvider.cpp b/testCa/testCaProvider.cpp index f8aa96a..4f623aa 100644 --- a/testCa/testCaProvider.cpp +++ b/testCa/testCaProvider.cpp @@ -11,7 +11,7 @@ #include #include -#include +#include #include @@ -25,17 +25,6 @@ #include #include #include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include using namespace epics::pvData; using namespace epics::pvAccess; @@ -800,8 +789,7 @@ MAIN(testCaProvider) client->put("1"); client->stopEvents(); }catch(std::exception& e){ - PRINT_EXCEPTION(e); - testAbort("Unexpected Exception: %s", e.what()); + testFail("caught un-expected exception: %s", e.what()); } return testDone();; }