tags 14891 + moreinfo
stop

On 07/17/2013 01:47 PM, Dennis Clarke wrote:
> 
> So today we have a much older system but a very very stable one and a
> decent compiler in the form of the Sun Studio tools on Solaris. 
> 
> What I see is : 
> 
> .
> .
> .
> SKIP: t/depcomp-msvisualcpp.tap - Microsoft C compiler 'cl' not available
> SKIP: t/depcomp-cpp.tap - GNU C compiler unavailable
> SKIP: t/depcomp-gcc.tap - GNU C compiler unavailable
> parallel-tests-html: skipped test: no proper rst2html program found
> SKIP: contrib/t/parallel-tests-html.sh
> parallel-tests-html-recursive: skipped test: no proper rst2html program found
> SKIP: contrib/t/parallel-tests-html-recursive.sh
> PASS: contrib/t/help-multilib.sh
> multilib: skipped test: GNU C compiler unavailable
> SKIP: contrib/t/multilib.sh
> gmake[3]: Entering directory 
> `/usr/local/build/automake-1.14_SunOS5.8_sparcv9.001'
> gmake[3]: Nothing to be done for `all'.
> gmake[3]: Leaving directory 
> `/usr/local/build/automake-1.14_SunOS5.8_sparcv9.001'
> ============================================================================
> Testsuite summary for GNU Automake 1.14
> ============================================================================
> # TOTAL: 2722
> # PASS:  2434
> # SKIP:  244
> # XFAIL: 39
> # FAIL:  5
> # XPASS: 0
> # ERROR: 0
> ============================================================================
> See ./test-suite.log
> Please report to bug-automake@gnu.org
> ============================================================================
> gmake[2]: *** [test-suite.log] Error 1
> gmake[2]: Leaving directory 
> `/usr/local/build/automake-1.14_SunOS5.8_sparcv9.001'
> gmake[1]: *** [check-TESTS] Error 2
> gmake[1]: Leaving directory 
> `/usr/local/build/automake-1.14_SunOS5.8_sparcv9.001'
> gmake: *** [check-am] Error 2
> 
> 
> okay .. not bad but can not be installed either. 
> 
> The tests that failed : 
> 
> [SNIP]
> FAIL: t/instmany.sh
> FAIL: t/instmany-mans.sh
>
Please try whether the attached patch solves the failure for
t/instmany.sh.  If it does, I will turn it into a proper commit
that also handle the other t/instmany* tests.

Regards,
  Stefano

>From 88e09c231280f39803dbb05583b51c6e04e41c17 Mon Sep 17 00:00:00 2001
Message-Id: <88e09c231280f39803dbb05583b51c6e04e41c17.1383606413.git.stefano.lattar...@gmail.com>
From: Stefano Lattarini <stefano.lattar...@gmail.com>
Date: Mon, 4 Nov 2013 23:01:27 +0000
Subject: [PATCH] tests: fix spurious failure when install-sh is used
 (bug#14891)

Signed-off-by: Stefano Lattarini <stefano.lattar...@gmail.com>
---
 t/instmany.sh | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/t/instmany.sh b/t/instmany.sh
index 0a479cc..925527b 100644
--- a/t/instmany.sh
+++ b/t/instmany.sh
@@ -81,7 +81,15 @@ END
 chmod +x x-bin/'rm' x-bin/my-install
 
 cat > setenv.in <<'END'
-orig_INSTALL='@INSTALL@'; export orig_INSTALL
+# When the install-sh is selected, $INSTALL is defined as a relative
+# path.  Since we might chdir around, we have to rewrite it to be an
+# absolute path.  See autmake bug#14891.
+orig_INSTALL='@INSTALL@'
+case $orig_INSTALL in
+  /*) ;;
+  */*) orig_INSTALL=`pwd`/$orig_INSTALL
+esac
+export orig_INSTALL
 END
 
 cat >>configure.ac <<END
-- 
1.8.5.rc0.23.gaa27064

Reply via email to