EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: Re: Problem with cross-tests
From: "Johnson, Andrew N. via Core-talk" <[email protected]>
To: "[email protected]" <[email protected]>
Date: Tue, 6 Nov 2018 20:52:30 +0000
Hi Dirk,

On 11/2/18 6:02 AM, Dirk Zimoch wrote:
> I have some architectures in my CROSS_COMPILER_RUNTEST_ARCHS and some of
> their "dbtemplate" tests fail with the error message:
> 
> Can't exec "./msi-copy": No such file or directory at msi.t line 77.
> 
> It seems "msi-copy" is only created for the EPICS_HOST_ARCH, but not for
> all CROSS_COMPILER_RUNTEST_ARCHS.
> 
> In src/ioc/dbtemplate/test/Makefile, I find:
> 
> TARGETS_HOST += msi-copy$(EXE)
> 
> This seems not sufficient. I have not found out yet what to use instead.
> 
> "msi" had been build for all my Linux targets, including those in
> CROSS_COMPILER_RUNTEST_ARCHS.

The msi-copy executable was a bit of a hack; it was needed so the msi.t
script could find an msi program to be tested. On the base-7.0 branch I
have modified the install rule that generates .t files from .plt sources
so they can now use @TOP@ and @ARCH@ which get replaced when the .t file
is built. As a result I deleted the msi-copy target because the script
can now run msi directly from the @TOP@/bin/@ARCH@ directory.

I think this fix should work for earlier branches, please test it when
you get a chance:

> index fb03b54..dc73eac 100644
> --- a/src/ioc/dbtemplate/test/Makefile
> +++ b/src/ioc/dbtemplate/test/Makefile
> @@ -17,8 +17,9 @@ TESTS += msi
>  
>  TESTSCRIPTS_HOST += $(TESTS:%=%.t)
>  
> -TARGETS_HOST += msi-copy$(EXE)
> -TARGETS += $(TARGETS_$(BUILD_CLASS))
> +ifneq (,$(findstring $(T_A),$(EPICS_HOST_ARCH) $(CROSS_COMPILER_RUNTEST_ARCHS)))
> +  TARGETS += msi-copy$(EXE)
> +endif
>  
>  include $(TOP)/configure/RULES
>  

- Andrew

-- 
Arguing for surveillance because you have nothing to hide is no
different than making the claim, "I don't care about freedom of
speech because I have nothing to say." -- Edward Snowdon

Replies:
Re: Problem with cross-tests Dirk Zimoch
References:
Problem with cross-tests Dirk Zimoch

Navigate by Date:
Prev: Re: RTEMS5 with epics-base Michael Davidsaver
Next: Re: RTEMS5 with epics-base Heinz P. Junkes
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Problem with cross-tests Dirk Zimoch
Next: Re: Problem with cross-tests Dirk Zimoch
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024 
ANJ, 08 Nov 2018 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·