On 19/12/2015 00:38, Brice Goglin wrote:
Le 18/12/2015 12:14, Marco Atzeri a écrit :
attached minor patch to solve a false "make check" failure
on platform where EXEEXT in not empty.
Tested on CYGWIN platforms.
Regards
Marco
--- origsrc/hwloc-1.11.2/utils/hwloc/test-hwloc-assembler.sh.in 2015-06-14
21:53:04.000000000 +0200
+++ src/hwloc-1.11.2/utils/hwloc/test-hwloc-assembler.sh.in 2015-12-18
07:47:38.743536900 +0100
@@ -12,6 +12,7 @@ HWLOC_top_builddir="@HWLOC_top_builddir@
assembler="$HWLOC_top_builddir/utils/hwloc/hwloc-assembler"
HWLOC_top_srcdir="@HWLOC_top_srcdir@"
SED="@SED@"
+EXEEXT="@EXEEXT@"
HWLOC_PLUGINS_PATH=${HWLOC_top_builddir}/src
export HWLOC_PLUGINS_PATH
@@ -46,7 +47,7 @@ $assembler $file \
# filter ProcessName since it may be hwloc-info or lt-hwloc-info
cat $file \
| $SED -e '/<info name=\"hwlocVersion\" value=\"'$HWLOC_VERSION'\"\/>/d' \
- | $SED -e '/<info name=\"ProcessName\" value=\"hwloc-assembler\"\/>/d' -e '/<info
name=\"ProcessName\" value=\"lt-hwloc-assembler\"\/>/d' \
+ | $SED -e '/<info name=\"ProcessName\" value=\"hwloc-assembler'$EXEEXT'\"\/>/d' -e '/<info
name=\"ProcessName\" value=\"lt-hwloc-assembleri'$EXEEXT'\"\/>/d' \
> ${file}.tmp
mv -f ${file}.tmp $file
^ here
Hello
The 'i' at the end of 'lt-hwloc-assembleri' at the end of the last added
line above causes a failure here. Typo in your patch?
Thanks
Brice
sure. VI typo