[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 2/2] {maint} tests: new variable $am_testaux_builddir
From: |
Stefano Lattarini |
Subject: |
[PATCH 2/2] {maint} tests: new variable $am_testaux_builddir |
Date: |
Wed, 7 Nov 2012 18:01:40 +0100 |
And a related fix that solves a spurious testsuite failures in
VPATH builds.
* t/ax/test-defs.in ($am_testaux_builddir): New, counterpart of
$am_testaux_srcdir, but pointing inside the build directory.
* t/self-check-shell-no-trail-bslash.sh: Use $am_testaux_builddir,
not $am_testaux_srcdir, when fetching the 'shell-no-trail-bslash'
script.
Signed-off-by: Stefano Lattarini <address@hidden>
---
t/ax/test-defs.in | 1 +
t/self-check-shell-no-trail-bslash.sh | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/t/ax/test-defs.in b/t/ax/test-defs.in
index a983183..ef31766 100644
--- a/t/ax/test-defs.in
+++ b/t/ax/test-defs.in
@@ -39,6 +39,7 @@ am_top_builddir='@abs_builddir@'
# Where testsuite-related helper scripts, data files and shell libraries
# are placed.
am_testaux_srcdir=$am_top_srcdir/t/ax
+am_testaux_builddir=$am_top_builddir/t/ax
# Support for the "installcheck" target.
case ${am_running_installcheck:=no} in
diff --git a/t/self-check-shell-no-trail-bslash.sh
b/t/self-check-shell-no-trail-bslash.sh
index fed4e6f..cf9c3a6 100755
--- a/t/self-check-shell-no-trail-bslash.sh
+++ b/t/self-check-shell-no-trail-bslash.sh
@@ -33,7 +33,7 @@ bad:
@echo $(am__backslash)
END
-SHELL=$am_testaux_srcdir/shell-no-trail-bslash
+SHELL=$am_testaux_builddir/shell-no-trail-bslash
$SHELL -c 'exit 0'
test "$($SHELL -c 'echo is o\k')" = "is ok"
--
1.8.0