From 329bb0473ff4fa69e18bcaae9ecca8990414c3f7 Mon Sep 17 00:00:00 2001 From: Martin Killenberg <martin.killenberg@desy.de> Date: Tue, 1 Aug 2017 14:29:29 +0200 Subject: [PATCH] made reference test server work with application base. --- .../referenceTestDoocsServer.cc | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/tests/referenceTestDoocsServer/referenceTestDoocsServer.cc b/tests/referenceTestDoocsServer/referenceTestDoocsServer.cc index 8615e7b..a267975 100644 --- a/tests/referenceTestDoocsServer/referenceTestDoocsServer.cc +++ b/tests/referenceTestDoocsServer/referenceTestDoocsServer.cc @@ -1,10 +1,6 @@ -#include <DoocsAdapter.h> +// FIXME: The test application is header only. It should be a compiled object +// which is linked. No line of sourcecode required. +#include <ChimeraTK/ControlSystemAdapter/Testing/ReferenceTestApplication.h> -// Include all the control applications you want in this server -#include <ChimeraTK/ControlSystemAdapter/Testing/IndependentTestCore.h> +ReferenceTestApplication referenceTestApplication; -BEGIN_DOOCS_SERVER("ReferenceTest DOOCS server", 10) - // Create static instances for all applications cores. They must not have overlapping - // process variable names ("location/protery" must be unique). -static IndependentTestCore independentTestCore(doocsAdapter.getDevicePVManager()); -END_DOOCS_SERVER() -- GitLab