6d1216daad
add pvalink json schema avoid JSON5 in testpvalink for portability. fixup build with pvalink trap bad_weak_ptr open during dtor Not sure why this is happening, but need not be CRIT. c++11, cleanup, and notes fix pvalink test sync fix test cleanup on exit pvalink disconnected link is always INVALID pvalink logging pvalink capture Disconnect time pvalink eliminate providerName restrict local to dbChannelTest() aka. no qsrv groups pvalink onTypeChange when attaching link to existing channel pvalink eliminate unused Connecting state pvalink add InstCounter pvalink AfterPut can be const pvalink add atomic jlif flag include epicsStdio.h later avoid #define printf troubles assert cleanup state on exit pvalink add newer lset functions test link disconnect testpvalink redo testPutAsync() pvalink fill out meta-data fetch pvalink fix FLNK pvalink cache putReq pvalink test atomic monitor pvalink test enum handling pvalink handle scalar read of empty array make it well defined anyway... pvalink test array of strings handle db_add_event() failure handle record._options.DBE
200 lines
4.2 KiB
Makefile
200 lines
4.2 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
|
|
USR_CPPFLAGS += -I$(TOP)/ioc
|
|
|
|
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 += testmonpipe
|
|
testmonpipe_SRCS += testmonpipe.cpp
|
|
TESTS += testmonpipe
|
|
|
|
TESTPROD_HOST += testput
|
|
testput_SRCS += testput.cpp
|
|
TESTS += testput
|
|
|
|
TESTPROD_HOST += testrpc
|
|
testrpc_SRCS += testrpc.cpp
|
|
TESTS += testrpc
|
|
|
|
TESTPROD_HOST += testdiscover
|
|
testdiscover_SRCS += testdiscover.cpp
|
|
# very slow and dependent on host network config.
|
|
#TESTS += testdiscover
|
|
|
|
TESTPROD_HOST += testnamesrv
|
|
testnamesrv_SRCS += testnamesrv.cpp
|
|
TESTS += testnamesrv
|
|
|
|
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
|
|
|
|
TESTPROD_HOST += testpvalink
|
|
testpvalink_SRCS += testpvalink.cpp
|
|
testpvalink_SRCS += testioc_registerRecordDeviceDriver.cpp
|
|
testpvalink_LIBS += pvxsIoc pvxs $(EPICS_BASE_IOC_LIBS)
|
|
TESTS += testpvalink
|
|
TESTFILES += ../testpvalink.db
|
|
|
|
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 += ../testqsinglelsi.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
|