Skip to content
Snippets Groups Projects
Commit 79cd7ceb authored by Andrew Johnson's avatar Andrew Johnson
Browse files

make test/validate/Makefile compatible with base 3.15

parent 3178b2c0
No related branches found
No related tags found
No related merge requests found
......@@ -63,20 +63,14 @@ endif
#TESTPROD_HOST += ctest
# Libraries
PROD_LIBS += seqSoftIoc
PROD_LIBS += seq pv
PROD_LIBS += $(EPICS_BASE_IOC_LIBS)
LIBRARY += seqSoftIoc
DBD += seqSoftIoc.dbd
seqSoftIoc_DBD += base.dbd
seqSoftIoc_SRCS += seqSoftIoc_registerRecordDeviceDriver.cpp
seqSoftIoc_LIBS += seq pv
seqSoftIoc_LIBS += $(EPICS_BASE_IOC_LIBS)
ifeq '$(EPICS_HAS_UNIT_TEST)' '1'
seqSoftIoc_SRCS += testSupport.c
......@@ -94,13 +88,15 @@ vxTestHarness_DBD += $(COMMON_DIR)/vxTestHarnessRegistrars.dbd
USR_DBDFLAGS += -I $(COMMON_DIR)
TOUCH = $(PERL) -MExtUtils::Command -e touch
DB += vxTestHarness.db
vxTestHarness.db$(DEP):
$(TOUCH) $@
endif
define template_SRCS
$(1)_SRCS += $(1).st $(seqSoftIoc_SRCS)
endef
$(foreach st, $(TESTPROD_HOST), $(eval $(call template_SRCS,$(st))))
# PROD_RTEMS = rtemsTestHarness
# rtemsTestHarness_SRCS += $(TESTPROD_HOST::%=%.st)
......@@ -110,6 +106,13 @@ include $(TOP)/configure/RULES
#----------------------------------------
# ADD RULES AFTER THIS LINE
ifeq '$(EPICS_HAS_UNIT_TEST)' '1'
vxTestHarness.db$(DEP):
@echo "$(COMMON_DIR)/vxTestHarness.db: ../Makefile" > $@
vxTestHarness.dbd$(DEP):
@echo "$(COMMON_DIR)/vxTestHarness.dbd: ../Makefile" > $@
endif
SOFTIOC=$(EPICS_BASE_BIN)/softIoc$(HOSTEXE)
SOFTDBD=$(EPICS_BASE)/dbd/softIoc.dbd
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment