libtool-commit
[Top][All Lists]
Advanced

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

[SCM] GNU Libtool branch, master, updated. v2.2.10-27-g80333a9


From: Ralf Wildenhues
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-27-g80333a9
Date: Sat, 19 Jun 2010 15:10:20 +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 Libtool".

The branch, master has been updated
       via  80333a915ca8aafa980e4d284ad9bf2d85c8b59f (commit)
      from  1f6f90797f1c461faecaae1928c5e728b71c35b5 (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 80333a915ca8aafa980e4d284ad9bf2d85c8b59f
Author: Ralf Wildenhues <address@hidden>
Date:   Sat Jun 19 17:06:33 2010 +0200

    Fix srcdir computation for manual runs of old tests.
    
    * tests/defs.m4sh: Strip trailing `/tests' from srcdir, to allow
    `$srcdir/tests/FOO.test' to be run from the top build directory.
    
    Signed-off-by: Ralf Wildenhues <address@hidden>

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

Summary of changes:
 ChangeLog       |    4 ++++
 tests/defs.m4sh |    4 ++--
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index a647279..ae37906 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2010-06-19  Ralf Wildenhues  <address@hidden>
 
+       Fix srcdir computation for manual runs of old tests.
+       * tests/defs.m4sh: Strip trailing `/tests' from srcdir, to allow
+       `$srcdir/tests/FOO.test' to be run from the top build directory.
+
        Clean up @var handling in the manual.
        * doc/libtool.texi: Throughout the manual, replace @var with
        @samp or @code as appropriate, ensure the argument of remaining
diff --git a/tests/defs.m4sh b/tests/defs.m4sh
index 58296da..1230555 100644
--- a/tests/defs.m4sh
+++ b/tests/defs.m4sh
@@ -2,7 +2,7 @@ AS_INIT[]m4_divert_push([HEADER-COPYRIGHT])dnl
 # @configure_input@
 # defs -- Defines for Libtool testing environment.
 #
-#   Copyright (C) 2003, 2004, 2005, 2007, 2008, 2009 Free Software
+#   Copyright (C) 2003, 2004, 2005, 2007, 2008, 2009, 2010 Free Software
 #   Foundation, Inc.
 #   Written by Gord Matzigkeit, 1996
 #   Rewritten by Gary V. Vaughan, 2003
@@ -59,7 +59,7 @@ DEBUG | debug )
 esac
 
 if test -z "$srcdir"; then
-  srcdir=`$ECHO "$0" | $SED "$dirname"`
+  srcdir=`$ECHO "$0" | $SED "$dirname; s,/tests\$,,"`
   test "$srcdir" = "$0" && srcdir=.
 fi
 


hooks/post-receive
-- 
GNU Libtool



reply via email to

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