grep-commit
[Top][All Lists]
Advanced

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

grep branch, master, updated. v2.24-8-g7f4e28a


From: Paul Eggert
Subject: grep branch, master, updated. v2.24-8-g7f4e28a
Date: Sun, 03 Apr 2016 08:00:33 +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 "grep".

The branch, master has been updated
       via  7f4e28a8634e1057b9239683e68ca12dd3ff1581 (commit)
      from  c767ed70eca9a82d76f07dcdbcaafa21ec7f86d6 (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 -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/grep.git/commit/?id=7f4e28a8634e1057b9239683e68ca12dd3ff1581


commit 7f4e28a8634e1057b9239683e68ca12dd3ff1581
Author: Paul Eggert <address@hidden>
Date:   Sun Apr 3 00:59:56 2016 -0700

    tests: test egrep/fgrep help only if our grep
    
    Problem reported by Christian Weisgerber in: http://bugs.gnu.org/23146
    * tests/Makefile.am (TESTS_ENVIRONMENT):
    Test egrep and fgrep only if they use our grep.

diff --git a/tests/Makefile.am b/tests/Makefile.am
index 0326ff4..b65fc39 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -182,6 +182,14 @@ TESTS_ENVIRONMENT =                                \
       done;                                            \
     };                                                 \
   fi;                                                  \
+                                                       \
+  : 'Test egrep/fgrep help if they use our grep.';     \
+  grep=`echo grep | sed -e '$(transform)'` || exit;    \
+  if test "$$grep" = grep; then                                \
+    built_programs='grep egrep fgrep';                 \
+  else                                                 \
+    built_programs='grep';                             \
+  fi;                                                  \
                                                \
   export_with_values                           \
   VERSION='$(VERSION)'                         \
@@ -193,7 +201,7 @@ TESTS_ENVIRONMENT =                         \
   abs_top_builddir='$(abs_top_builddir)'       \
   abs_top_srcdir='$(abs_top_srcdir)'           \
   abs_srcdir='$(abs_srcdir)'                   \
-  built_programs='grep egrep fgrep'            \
+  built_programs="$$built_programs"            \
   srcdir='$(srcdir)'                           \
   top_srcdir='$(top_srcdir)'                   \
   CC='$(CC)'                                   \

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

Summary of changes:
 tests/Makefile.am |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
grep



reply via email to

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