92 lines
2.7 KiB
Makefile
92 lines
2.7 KiB
Makefile
#*************************************************************************
|
|
# Copyright (c) 2012 UChicago Argonne LLC, as Operator of Argonne
|
|
# National Laboratory.
|
|
# Copyright (c) 2002 The Regents of the University of California, as
|
|
# Operator of Los Alamos National Laboratory.
|
|
# EPICS BASE is distributed subject to a Software License Agreement found
|
|
# in the file LICENSE that is included with this distribution.
|
|
#*************************************************************************
|
|
TOP=../../../..
|
|
|
|
include $(TOP)/configure/CONFIG
|
|
|
|
TESTLIBRARY = dbTestIoc
|
|
|
|
dbTestIoc_SRCS = xRecord.c
|
|
|
|
TARGETS += $(COMMON_DIR)/dbTestIoc.dbd
|
|
dbTestIoc_DBD += menuGlobal.dbd
|
|
dbTestIoc_DBD += menuConvert.dbd
|
|
dbTestIoc_DBD += xRecord.dbd
|
|
TESTFILES += $(COMMON_DIR)/dbTestIoc.dbd ../xRecord.db
|
|
|
|
testHarness_SRCS += dbTestIoc_registerRecordDeviceDriver.cpp
|
|
|
|
PROD_LIBS = dbTestIoc dbCore ca Com
|
|
|
|
TESTPROD_HOST += dbShutdownTest
|
|
dbShutdownTest_SRCS += dbShutdownTest.c
|
|
dbShutdownTest_SRCS += dbTestIoc_registerRecordDeviceDriver.cpp
|
|
testHarness_SRCS += dbShutdownTest.c
|
|
TESTS += dbShutdownTest
|
|
|
|
TESTPROD_HOST += dbPutLinkTest
|
|
dbPutLinkTest_SRCS += dbPutLinkTest.c
|
|
dbPutLinkTest_SRCS += dbTestIoc_registerRecordDeviceDriver.cpp
|
|
testHarness_SRCS += dbPutLinkTest.c
|
|
TESTS += dbPutLinkTest
|
|
|
|
TESTPROD_HOST += testdbConvert
|
|
testdbConvert_SRCS += testdbConvert.c
|
|
testHarness_SRCS += testdbConvert.c
|
|
TESTS += testdbConvert
|
|
|
|
TESTPROD_HOST += callbackTest
|
|
callbackTest_SRCS += callbackTest.c
|
|
testHarness_SRCS += callbackTest.c
|
|
TESTS += callbackTest
|
|
|
|
TESTPROD_HOST += dbStateTest
|
|
dbStateTest_SRCS += dbStateTest.c
|
|
testHarness_SRCS += dbStateTest.c
|
|
TESTS += dbStateTest
|
|
|
|
TESTPROD_HOST += dbChannelTest
|
|
dbChannelTest_SRCS += dbChannelTest.c
|
|
dbChannelTest_SRCS += dbTestIoc_registerRecordDeviceDriver.cpp
|
|
testHarness_SRCS += dbChannelTest.c
|
|
TESTS += dbChannelTest
|
|
|
|
TESTPROD_HOST += chfPluginTest
|
|
chfPluginTest_SRCS += chfPluginTest.c
|
|
chfPluginTest_SRCS += dbTestIoc_registerRecordDeviceDriver.cpp
|
|
testHarness_SRCS += chfPluginTest.c
|
|
TESTS += chfPluginTest
|
|
|
|
TESTPROD_HOST += arrShorthandTest
|
|
arrShorthandTest_SRCS += arrShorthandTest.c
|
|
arrShorthandTest_SRCS += dbTestIoc_registerRecordDeviceDriver.cpp
|
|
testHarness_SRCS += arrShorthandTest.c
|
|
TESTS += arrShorthandTest
|
|
|
|
TESTPROD_HOST += benchdbConvert
|
|
benchdbConvert_SRCS += benchdbConvert.c
|
|
|
|
# The testHarness runs all the test programs in a known working order.
|
|
testHarness_SRCS += epicsRunDbTests.c
|
|
|
|
dbTestHarness_SRCS += $(testHarness_SRCS)
|
|
dbTestHarness_SRCS_RTEMS += rtemsTestHarness.c
|
|
|
|
PROD_vxWorks = dbTestHarness
|
|
PROD_RTEMS = dbTestHarness
|
|
|
|
TESTSPEC_vxWorks = dbTestHarness.munch; epicsRunDbTests
|
|
TESTSPEC_RTEMS = dbTestHarness.boot; epicsRunDbTests
|
|
|
|
TESTSCRIPTS_HOST += $(TESTS:%=%.t)
|
|
|
|
include $(TOP)/configure/RULES
|
|
|
|
xRecord$(DEP): $(COMMON_DIR)/xRecord.h
|