Hi Andrew,
Looks good now. Thanks. Please do the same for 3.15 and 3.16.
FYI: My CROSS_COMPILER_RUNTEST_ARCHS are RHEL7-x86_64-clang, SL6-x86_64,
and SL6-x86_32, my EPICS_HOST_ARCH is RHEL7-x86_64.
Dirk
On 06.11.2018 21:52, Johnson, Andrew N. via Core-talk wrote:
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
- References:
- Problem with cross-tests Dirk Zimoch
- Re: Problem with cross-tests Johnson, Andrew N. via Core-talk
- Navigate by Date:
- Prev:
Re: RTEMS5 with epics-base Michael Davidsaver
- Next:
Re: hanging test in 3.15 Dirk Zimoch
- Index:
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
<2018>
2019
2020
2021
2022
2023
2024
2025
- Navigate by Thread:
- Prev:
Re: Problem with cross-tests Johnson, Andrew N. via Core-talk
- Next:
RTEMS5 with epics-base Heinz Junkes
- Index:
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
<2018>
2019
2020
2021
2022
2023
2024
2025
|