Files
pvxs/test/Makefile
T
Michael Davidsaver afafa09547 ioc: revise qsrv 2 prototype
ioc: check for mis-matched onStartSubscription()/onDisableSubscription()

ioc: fix subscription lifetime

ioc: catch exceptions in dbEvent callbacks

ioc: avoid unnecessary virtual

ioc: minor

ioc: fix qsrv -S

ioc: qsrvGroupSourceInit() catch+log

ioc: runOnServer avoid std::function

ioc: cleanup and simplifications.

Avoid some redundant std::map lookups.
Make Group partially const to prevent implicit ctor.

ioc: avoid typedefs only used once

ioc: overhaul Group::show().  shows triggers

ioc: MappingType

ioc: pvxsgl -> pvxgl

ioc: separate group config singleton from server singleton

ioc: remove unnecessary forward declarations

ioc: restructure pvxsInitHook

ioc: qsrv runtime disable by default

ioc: compat w/ older Base

ioc: link pvxsIoc w/ DB libs

ioc: Channel proper detection of invalid PV

ioc: no need to keep vector<dbCommon*> around

ioc: fix initial group update for mappings w/o dbChannel

ioc: redo testing

split out group tests, only run with Base >= 7.0

ioc: minor

ioc: loc_bad_alloc

ioc: avoid symbol/DTYP clash with pva2pva

ioc: test record alias in group json

ioc: test put failure when SPC_NOMOD and DISP=1

ioc: test channel filters

ioc: unnecessary capture

ioc: avoid sharing Value between multiple subscriptions

It is possible to create two subscriptions through the same channel.

ioc: group subscription include queueSize

ioc: eliminate unused atomicMonitor

ioc: consolidate GroupSource::get()

avoid some indirection

ioc: pvRequest override of atomicPutGet

ioc: fix group non-atomic put

ioc: test asTrap hooks

ioc: test putOrder also sets field order

ioc: simplify GroupConfigProcessor::loadConfigFiles()

Also ensure that groupMapMutex is held

ioc: testqgroup cover JSON def.

ioc: dbLoadGroup() use macros

ioc: pvxsl() take integer argument

ioc: display.form and info(Q:form

ioc: "NO_ALARM" -> ""

ioc: use dbServer

at least for informational callbacks.

ioc: consolidate createRequestAndSubscriptionHandlers()

ioc: eliminate ChannelAndLock

properties dbChannel doesn't need a separate DBManyLock

ioc: test that putOrder also controls field order

ioc: MappingType -> MappingInfo

Handle info(Q:time:tag
Add +type:"const"

ioc: cleanup includes

ioc: test dbNotifyCancel()

ioc: inline checkForTrailingCommentsAtEnd()
2023-05-09 22:24:05 -07:00

178 lines
3.6 KiB
Makefile

TOP=..
include $(TOP)/configure/CONFIG
# cfg/ sometimes isn't correctly included due to a Base bug
# so we do here (maybe again) as workaround
include $(TOP)/configure/CONFIG_PVXS_MODULE
include $(TOP)/configure/CONFIG_PVXS_VERSION
#----------------------------------------
# ADD MACRO DEFINITIONS AFTER THIS LINE
#=============================
# access to private headers
USR_CPPFLAGS += -I$(TOP)/src
PROD_LIBS = pvxs Com
TESTPROD_HOST += testsock
testsock_SRCS += testsock.cpp
TESTS += testsock
TESTPROD_HOST += testutil
testutil_SRCS += testutil.cpp
TESTS += testutil
TESTPROD_HOST += testev
testev_SRCS += testev.cpp
TESTS += testev
TESTPROD_HOST += testlog
testlog_SRCS += testlog.cpp
TESTS += testlog
TESTPROD_HOST += testudp
testudp_SRCS += testudp.cpp
TESTS += testudp
TESTPROD_HOST += testshared
testshared_SRCS += testshared.cpp
TESTS += testshared
TESTPROD_HOST += testbitmask
testbitmask_SRCS += testbitmask.cpp
TESTS += testbitmask
TESTPROD_HOST += testxcode
testxcode_SRCS += testxcode.cpp
TESTS += testxcode
TESTPROD_HOST += testtype
testtype_SRCS += testtype.cpp
TESTS += testtype
TESTPROD_HOST += testdata
testdata_SRCS += testdata.cpp
TESTS += testdata
TESTPROD_HOST += testnt
testnt_SRCS += testnt.cpp
TESTS += testnt
TESTPROD_HOST += testconfig
testconfig_SRCS += testconfig.cpp
TESTS += testconfig
TESTPROD_HOST += testwild
testwild_SRCS += testwild.cpp
TESTS += testwild
TESTPROD_HOST += testpvreq
testpvreq_SRCS += testpvreq.cpp
TESTS += testpvreq
TESTPROD_HOST += testinfo
testinfo_SRCS += testinfo.cpp
TESTS += testinfo
TESTPROD_HOST += testget
testget_SRCS += testget.cpp
TESTS += testget
TESTPROD_HOST += testmon
testmon_SRCS += testmon.cpp
TESTS += testmon
TESTPROD_HOST += testput
testput_SRCS += testput.cpp
TESTS += testput
TESTPROD_HOST += testrpc
testrpc_SRCS += testrpc.cpp
TESTS += testrpc
TESTPROD_HOST += test1000
test1000_SRCS += test1000.cpp
TESTS += test1000
TESTPROD_HOST += testendian
testendian_SRCS += testendian.cpp
TESTS += testendian
TESTPROD_HOST += testudpfwd
testudpfwd_SRCS += testudpfwd.cpp
TESTS += testudpfwd
ifdef BASE_7_0
TESTPROD_HOST += benchdata
benchdata_SRCS += benchdata.cpp
endif
ifdef BASE_3_15
DBDDEPENDS_FILES += testioc.dbd$(DEP)
testioc_DBD = base.dbd pvxsIoc.dbd
TESTFILES += $(COMMON_DIR)/testioc.dbd
TESTPROD_HOST += testqsingle
testqsingle_SRCS += testqsingle
testqsingle_SRCS += testioc_registerRecordDeviceDriver.cpp
testqsingle_LIBS = pvxsIoc pvxs $(EPICS_BASE_IOC_LIBS)
TESTFILES += ../testqsingle.db
TESTFILES += ../testqsingle64.db
TESTFILES += ../testioc.acf
TESTS += testqsingle
endif
ifdef BASE_7_0
TESTPROD_HOST += testqgroup
testqgroup_SRCS += testqgroup
testqgroup_SRCS += testioc_registerRecordDeviceDriver.cpp
testqgroup_LIBS = pvxsIoc pvxs $(EPICS_BASE_IOC_LIBS)
TESTFILES += ../table.db
TESTFILES += ../image.db
TESTFILES += ../image.json
TESTFILES += ../iq.db
TESTFILES += ../ntenum.db
TESTFILES += ../const.db
TESTS += testqgroup
PROD_SRCS_RTEMS += rtemsTestData.c
endif
TESTPROD_HOST += mcat
mcat_SRCS += mcat.cpp
# not a unittest
TESTPROD_HOST += spam
spam_SRCS += spam.cpp
# not a unittest
TESTPROD_HOST += eatspam
eatspam_SRCS += eatspam.cpp
# not a unittest
TESTSCRIPTS_HOST += $(TESTS:%=%.t)
ifdef BASE_3_15
ifneq ($(filter $(T_A),$(CROSS_COMPILER_RUNTEST_ARCHS)),)
TESTPROD = $(TESTPROD_HOST)
TESTSCRIPTS = $(TESTSCRIPTS_HOST)
endif
endif
#===========================
include $(TOP)/configure/RULES
include $(TOP)/configure/RULES_PVXS_MODULE
#----------------------------------------
# ADD RULES AFTER THIS LINE
ifdef BASE_3_15
rtemsTestData.c : $(TESTFILES) $(TOOLS)/epicsMakeMemFs.pl
$(PERL) $(TOOLS)/epicsMakeMemFs.pl $@ epicsRtemsFSImage $(TESTFILES)
endif