automake-commit
[Top][All Lists]
Advanced

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

[Automake-commit] [SCM] GNU Automake branch, tests-init, updated. v1.11-


From: Stefano Lattarini
Subject: [Automake-commit] [SCM] GNU Automake branch, tests-init, updated. v1.11-432-gcc2bb3a
Date: Sat, 15 Jan 2011 14:46:58 +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=cc2bb3af15c46a40753e81cd4a9adebe96e0f164

The branch, tests-init has been updated
       via  cc2bb3af15c46a40753e81cd4a9adebe96e0f164 (commit)
      from  7cd2094693437d3d7fbdb69d577758fe1d6e0900 (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 cc2bb3af15c46a40753e81cd4a9adebe96e0f164
Author: Stefano Lattarini <address@hidden>
Date:   Fri Nov 12 14:52:51 2010 +0100

    Tests defs: don't let useless variables leak in test scripts.
    
    * tests/defs ($priv_check_temp, $overwrite_status, $ro_dir_temp,
    $create_status, $r2h, $libtool_found, $gettext_found, $aclocaldir,
    $extra_includes): Unset once they've served their purpose.

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

Summary of changes:
 ChangeLog  |    7 +++++++
 tests/defs |    8 +++++++-
 2 files changed, 14 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 2ea4caa..6001d69 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2011-01-15  Stefano Lattarini  <address@hidden>
+
+       Tests defs: don't let useless variables leak in test scripts.
+       * tests/defs ($priv_check_temp, $overwrite_status, $ro_dir_temp,
+       $create_status, $r2h, $libtool_found, $gettext_found, $aclocaldir,
+       $extra_includes): Unset once they've served their purpose.
+
 2010-12-22  Stefano Lattarini  <address@hidden>
 
        Fix parallel testsuite run with Zsh.
diff --git a/tests/defs b/tests/defs
index f04a756..6a5c7af 100644
--- a/tests/defs
+++ b/tests/defs
@@ -1,7 +1,8 @@
 # -*- shell-script -*-
 #
 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
-# 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
+# 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation,
+# Inc.
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -237,6 +238,7 @@ do
         echo "$me: cannot drop file write permissions" >&2
         exit 77
       fi
+      unset priv_check_temp overwrite_status
       ;;
     perl-threads)
       if test "$WANT_NO_THREADS" = "yes"; then
@@ -262,6 +264,7 @@ do
         echo "$me: cannot drop directory write permissions" >&2
         exit 77
       fi
+      unset ro_dir_temp create_status
       ;;
     rst2html)
       # Try the variants that are tried in check.am.
@@ -273,6 +276,7 @@ do
         echo "$me: no proper rst2html program found" >&2
         exit 77
       done
+      unset r2h
       ;;
     runtest)
       # DejaGnu's runtest program. We rely on being able to specify
@@ -392,6 +396,8 @@ case " $required " in
         ;;
     esac
     ACLOCAL="$ACLOCAL -Wno-syntax -I $top_testsrcdir/m4 $extra_includes -I 
$aclocaldir"
+    unset libtool_found gettext_found
+    unset extra_includes aclocaldir
     ;;
 esac
 


hooks/post-receive
-- 
GNU Automake



reply via email to

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