EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: [Merge] lp:~michael-abbott/epics-base/dynamic-array into lp:epics-base
From: Andrew Johnson <[email protected]>
To: [email protected]
Date: Thu, 24 Jun 2010 10:15:36 -0500
On Thursday 24 June 2010 08:31:54 Ralph Lange wrote:
> Hi Nick,
>
> On Thu 24 Jun 2010 4:54:51  wrote:
> > I don't think that acctst is a valid epics test harness. I suggest we
> > also look at turning it into one so that it is run with make runtests
> > (and also with our automated test system). Is this a sensible idea?
>
> Definitely.

Hear, hear!

> Even more definitely it's not an easy task, as acctst involves things
> like pulling and reinserting the network plug in the IOC to check tcp
> circuit timeout/cleanup etc..., stuff that is not easily automated.

.. and note that pulling the network plug is *not* the same as killing the IOC 
process on Linux, since the latter results in the OS cleaning up the socket 
for you whereas pulling the plug means that all packets stop.  It might be 
possible to suspend the process to simulate it, but I'd want someone to 
compare a couple of network traces to make sure it behaves exactly the same 
way.

> Don't want to discourage you, just .... it's going to be fun :-)

Definitely, but well worth-while.  I'm guessing that you may not be able to 
automate everything, but it probably makes sense to split acctst into multiple 
test programs and have the one(s) that need manual intervention not run by the 
runtests rule.  I would also suggest you create a src/ca/test directory and 
put the new test programs in there (note that like libCom/test and db/test 
this collection would be built after most of the other src/* directories, see 
src/Makefile to see how we arrange that, this allows the tests to use code 
that gets built after src/ca if they need it).

- Andrew
-- 
The best FOSS code is written to be read by other humans -- Harald Welte


Replies:
Re: [Merge] lp:~michael-abbott/epics-base/dynamic-array into lp:epics-base Ralph Lange
RE: [Merge] lp:~michael-abbott/epics-base/dynamic-array intolp:epics-base nick.rees
References:
[Merge] lp:~michael-abbott/epics-base/dynamic-array into lp:epics-base Michael Abbott
RE: [Merge] lp:~michael-abbott/epics-base/dynamic-array intolp:epics-base nick.rees
Re: [Merge] lp:~michael-abbott/epics-base/dynamic-array intolp:epics-base Ralph Lange

Navigate by Date:
Prev: Re: [Merge] lp:~michael-abbott/epics-base/dynamic-array intolp:epics-base Ralph Lange
Next: Re: [Merge] lp:~michael-abbott/epics-base/dynamic-array into lp:epics-base Ralph Lange
Index: 2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: [Merge] lp:~michael-abbott/epics-base/dynamic-array intolp:epics-base Ralph Lange
Next: Re: [Merge] lp:~michael-abbott/epics-base/dynamic-array into lp:epics-base Ralph Lange
Index: 2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Feb 2012 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·