automake-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] GNU Automake branch, master, updated. Release-1-10-89-g3a3ab6b


From: Ralf Wildenhues
Subject: [SCM] GNU Automake branch, master, updated. Release-1-10-89-g3a3ab6b
Date: Sat, 08 Dec 2007 10:12:28 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Automake".

http://git.sv.gnu.org/gitweb/?p=automake.git;a=commitdiff;h=3a3ab6bd2b54659cd7451d22d20d63b528b52a71

The branch, master has been updated
       via  3a3ab6bd2b54659cd7451d22d20d63b528b52a71 (commit)
      from  0a9a9133e5f47300752413373e12fa9de4fbfbc9 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 3a3ab6bd2b54659cd7451d22d20d63b528b52a71
Author: Ralf Wildenhues <address@hidden>
Date:   Sat Dec 8 11:10:39 2007 +0100

    * tests/defs.in: Quote $srcdir, $PATH; skip libtool and gettext
    tests if the absolute source or build tree name contain whitespace.

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog     |    3 +++
 tests/defs.in |   14 ++++++++++----
 2 files changed, 13 insertions(+), 4 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 135fa7c..e6811bc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2007-12-08  Ralf Wildenhues  <address@hidden>
 
+       * tests/defs.in: Quote $srcdir, $PATH; skip libtool and gettext
+       tests if the absolute source or build tree name contain whitespace.
+
        Modify some tests for absolute trees containing whitespace.
        * tests/missing.test: Use "./missing" instead of "`pwd`/missing".
        * tests/missing2.test: Likewise.
diff --git a/tests/defs.in b/tests/defs.in
index 107bfe8..c15c530 100644
--- a/tests/defs.in
+++ b/tests/defs.in
@@ -49,11 +49,11 @@ if test -z "$srcdir"; then
    VERBOSE=x
    # compute $srcdir.
    srcdir=`echo "$0" | sed -e 's,/[^\\/]*$,,'`
-   test $srcdir = $0 && srcdir=.
+   test "$srcdir" = $0 && srcdir=.
 else :; fi
 
 # Ensure $srcdir is set correctly.
-test -f $srcdir/defs.in || {
+test -f "$srcdir/defs.in" || {
    echo "$srcdir/defs.in not found, check \$srcdir" 1>&2
    exit 1
 }
@@ -92,7 +92,7 @@ export ACLOCAL_TESTSUITE_FLAGS
 test -z "$AUTOMAKE" && AUTOMAKE="address@hidden@ --foreign -Werror -Wall"
 
 PATH="address@hidden@$PATH"
-echo $PATH
+echo "$PATH"
 # Some shells forget to export modified environment variables.
 # (See note about `export' in the Autoconf manual.)
 export PATH
@@ -260,7 +260,7 @@ signal=0
 
 # Copy in some files we need.
 for file in install-sh missing depcomp; do
-   cp $srcdir/../lib/$file $testSubDir/$file || exit 1
+   cp "$srcdir/../lib/$file" "$testSubDir/$file" || exit 1
 done
 
 cd ./$testSubDir
@@ -320,6 +320,12 @@ case $required in
       *libtool* ) test $libtool_found = yes || exit 77 ;;
       *gettext* ) test $gettext_found = yes || exit 77 ;;
     esac
+    # Libtool cannot cope with spaces in the build tree.  Our testsuite setup
+    # cannot cope with spaces in the source tree name for Libtool and gettext
+    # tests.
+    case $srcdir,`pwd` in
+      *\ * | *\        *) exit 77 ;;
+    esac
     ACLOCAL="$ACLOCAL -Wno-syntax -I $srcdir/../m4 $extra_includes -I 
$aclocaldir"
     ;;
 esac


hooks/post-receive
--
GNU Automake




reply via email to

[Prev in Thread] Current Thread [Next in Thread]