diff --git a/src/std/rec/test/Makefile b/src/std/rec/test/Makefile index bfb8740d5..b8657ce83 100644 --- a/src/std/rec/test/Makefile +++ b/src/std/rec/test/Makefile @@ -14,7 +14,6 @@ PROD_LIBS = dbRecStd dbCore ca Com TARGETS += $(COMMON_DIR)/analogMonitorTest.dbd analogMonitorTest_DBD += base.dbd -analogMonitorTest_DBD += myTestSub.dbd TESTPROD_HOST += analogMonitorTest analogMonitorTest_SRCS += analogMonitorTest.c analogMonitorTest_SRCS += analogMonitorTest_registerRecordDeviceDriver.cpp diff --git a/src/std/rec/test/analogMonitorTest.c b/src/std/rec/test/analogMonitorTest.c index f0c1950c1..56f3cf475 100644 --- a/src/std/rec/test/analogMonitorTest.c +++ b/src/std/rec/test/analogMonitorTest.c @@ -75,7 +75,6 @@ static int t_ReceivedUpdates[NO_OF_PATTERNS][NO_OF_VALUES_PER_SEQUENCE]; static long myTestSub(void *p) { return 0; } -epicsRegisterFunction(myTestSub); /* Minimal pre-chain plugin to divert all monitors back into the test (before they hit the queue) */ @@ -152,6 +151,8 @@ MAIN(analogMonitorTest) t_SetValues[14][0] = -epicsINF; t_SetValues[14][1] = epicsINF; t_SetValues[15][0] = -epicsINF; t_SetValues[15][1] = -epicsINF; + registryFunctionAdd("myTestSub", (REGISTRYFUNCTION) myTestSub); + testPlan(1793); if (dbReadDatabase(&pdbbase, "analogMonitorTest.dbd", diff --git a/src/std/rec/test/myTestSub.dbd b/src/std/rec/test/myTestSub.dbd deleted file mode 100644 index eb0943b54..000000000 --- a/src/std/rec/test/myTestSub.dbd +++ /dev/null @@ -1 +0,0 @@ -function(myTestSub)