Thanks Michael
This is pretty cool. It means I can add TESTDBD myself simply by defining:
TARGETS += $(TESTDBD:%=$(COMMON_DIR)/%)
DBDDEPENDS_FILES += $(TESTDBD:%=%$(DEP))
TESTFILES += $(TESTDBD:%=$(COMMON_DIR)/%)
and then
TESTDBD += mytest.dbd
does what I want.
Cheers
Ben
Am 08.11.19 um 17:28 schrieb Michael Davidsaver:
> On 11/8/19 7:45 AM, Benjamin Franksen via Core-talk wrote:
>> This is a feature request, or perhaps rather a "feature completion" request.
>>
>> In base-3.15.6 and base-7.0.x I can define make variables TESTPROD or
>> TESTLIBRARY which means it will be generated in the usual way, but won't
>> be installed into the $(TOP)/bin or $(TOP)/lib.
>>
>> I am missing a way to define the corresponding dbd file in a similar
>> manner. That is, I want to define TESTDBD so that it gets created like a
>> normal DBD, but not installed under $(TOP)/dbd.
>
> While there is no explicit way to do this, the effect can be achieved.
> eg. from the Base unittests:
>
> https://github.com/epics-base/epics-base/blob/6d8bf7c8ef02e9dfe024f2632ea27de11f583f46/modules/database/test/std/rec/Makefile#L22-L25
>
Attachment:
signature.asc
Description: OpenPGP digital signature
- References:
- missing: TESTDBD Benjamin Franksen via Core-talk
- Re: missing: TESTDBD Michael Davidsaver via Core-talk
- Navigate by Date:
- Prev:
Re: missing: TESTDBD Michael Davidsaver via Core-talk
- Next:
epics.anl.gov off-line? Konrad, Martin via Core-talk
- Index:
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
<2019>
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: missing: TESTDBD Michael Davidsaver via Core-talk
- Next:
Beacon handling Timo Korhonen via Core-talk
- Index:
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
<2019>
2020
2021
2022
2023
2024
|