bug-gnulib
[Top][All Lists]
Advanced

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

[PATCH] test-framework-sh: distribute init.sh


From: Jim Meyering
Subject: [PATCH] test-framework-sh: distribute init.sh
Date: Fri, 23 Dec 2011 16:49:07 +0100

Without the patch below, I found out right away (thanks to the
Nixos/Hydra autobuilder) that grep's make distcheck would fail
every init.sh-using test:

    http://hydra.nixos.org/build/1653876/log/raw

E.g.,

    FAIL: test-exclude2.sh (exit: 1)
    ================================
    ./test-exclude2.sh: line 19: ./init.sh: No such file or directory

This means that for projects like grep that also VC tests/init.sh,
we can probably just replace that file with a symlink to the
generated file, ../gnulib-tests/init.sh

>From 48b4e4681719005f393117d956c5740eee49a78b Mon Sep 17 00:00:00 2001
From: Jim Meyering <address@hidden>
Date: Fri, 23 Dec 2011 16:44:55 +0100
Subject: [PATCH] test-framework-sh: distribute init.sh

* modules/test-framework-sh (EXTRA_DIST): Append init.sh.
Otherwise, "make -C gnulib-tests check" (at least in grep) would
fail due to the lack of init.sh.
---
 ChangeLog                 |    5 +++++
 modules/test-framework-sh |    1 +
 2 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index f65801f..625efb3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2011-12-23  Jim Meyering  <address@hidden>

+       test-framework-sh: distribute init.sh
+       * modules/test-framework-sh (EXTRA_DIST): Append init.sh.
+       Otherwise, "make -C gnulib-tests check" (at least in grep) would
+       fail due to the lack of init.sh.
+
        maint: remove explicit Files: tests/init.sh; depend on test-framework-sh
        * modules/atexit-tests: Rather than listing tests/init.sh,
        now that there's a module for it, simply depend on that new module.
diff --git a/modules/test-framework-sh b/modules/test-framework-sh
index 249f426..ee913a4 100644
--- a/modules/test-framework-sh
+++ b/modules/test-framework-sh
@@ -9,6 +9,7 @@ Depends-on:
 configure.ac:

 Makefile.am:
+EXTRA_DIST += init.sh

 Include:

--
1.7.8.1.367.g25ecc



reply via email to

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