EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  <20222023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  <20222023  2024 
<== Date ==> <== Thread ==>

Subject: Unit testing for databases
From: "Wang, Andrew via Tech-talk" <tech-talk at aps.anl.gov>
To: EPICS tech-talk <tech-talk at aps.anl.gov>
Date: Fri, 23 Sep 2022 08:02:20 +0000
Hi all,

I am attempting to create a unit test for an IOC I had written per project specification. I have been attempting to follow the example on this Doxygen page (EPICS Base: Unit testing of record processing (anl.gov)), however I seem to have hit a road block. My questions are below.

  1. In the Makefile example, are those variables for the Makefile inside the app/src directory of an IOC application?
  2. Do the contents of the Makefile example go after the comment, which reads # ADD RULES AFTER THIS LINE?
  3. Is pdbbase the same global variable as described in Chapter 14 which is titled "Static Database Access"? If so, then I would need to include dbAccess.h?
  4. What is the TESTFILES variable for? I couldn't find an explanation in the Application Developer's Guide.
Thank you,
Andy

Replies:
Re: Unit testing for databases Simon Rose via Tech-talk
Re: Unit testing for databases Michael Davidsaver via Tech-talk

Navigate by Date:
Prev: Open positions at PSI (motion control, infrastructure, group leadership) Baymani Simaolhoda (PSI) via Tech-talk
Next: Re: Unit testing for databases Simon Rose via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  <20222023  2024 
Navigate by Thread:
Prev: Open position at PSI: group leadership for large research facilities (machine support) Baymani Simaolhoda (PSI) via Tech-talk
Next: Re: Unit testing for databases Simon Rose via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  <20222023  2024 
ANJ, 09 Nov 2022 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·