diff options
author | Jim Meyering <meyering@redhat.com> | 2007-10-05 12:14:16 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2007-10-05 12:57:03 +0200 |
commit | 068fa34adcb846244c81704de2872102310de86e (patch) | |
tree | 0aa9a38da6b0b4564c1af0b0045d3ea8ba3e48da | |
parent | f8cd8d524ccec3e56431596f0cc647724e7192ae (diff) | |
download | coreutils-068fa34adcb846244c81704de2872102310de86e.tar.xz |
Add PACKAGE_VERSION to TESTS_ENVIRONMENT via check.mk.
* tests/check.mk (TESTS_ENVIRONMENT): Add PACKAGE_VERSION here,
rather than in every Makefile.am that needs it.
* tests/rm/Makefile.am (TESTS_ENVIRONMENT): Remove PACKAGE_VERSION.
* tests/misc/Makefile.am (TESTS_ENVIRONMENT): Likewise.
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | tests/check.mk | 1 | ||||
-rw-r--r-- | tests/misc/Makefile.am | 1 | ||||
-rw-r--r-- | tests/rm/Makefile.am | 1 |
4 files changed, 9 insertions, 2 deletions
@@ -1,3 +1,11 @@ +2007-10-05 Jim Meyering <meyering@redhat.com> + + Add PACKAGE_VERSION to TESTS_ENVIRONMENT via check.mk. + * tests/check.mk (TESTS_ENVIRONMENT): Add PACKAGE_VERSION here, + rather than in every Makefile.am that needs it. + * tests/rm/Makefile.am (TESTS_ENVIRONMENT): Remove PACKAGE_VERSION. + * tests/misc/Makefile.am (TESTS_ENVIRONMENT): Likewise. + 2007-10-04 Jim Meyering <jim@meyering.net> Adapt to new gnulib naming scheme. diff --git a/tests/check.mk b/tests/check.mk index 3d9a11a25..8e54c6f20 100644 --- a/tests/check.mk +++ b/tests/check.mk @@ -34,6 +34,7 @@ check: vc_exe_in_TESTS # Append this, because automake does the same. TESTS_ENVIRONMENT += \ top_srcdir=$(top_srcdir) \ + PACKAGE_VERSION=$(PACKAGE_VERSION) \ abs_top_srcdir=$(abs_top_srcdir) \ abs_top_builddir=$(abs_top_builddir) \ srcdir=$(srcdir) diff --git a/tests/misc/Makefile.am b/tests/misc/Makefile.am index 85c82e4f8..ec1a67c1c 100644 --- a/tests/misc/Makefile.am +++ b/tests/misc/Makefile.am @@ -22,7 +22,6 @@ built_programs = \ TESTS_ENVIRONMENT = \ built_programs="`$(built_programs)`" \ - PACKAGE_VERSION=$(PACKAGE_VERSION) \ PERL="$(PERL)" \ BUILD_SRC_DIR="`pwd`/../../src" \ CU_TEST_NAME=`basename $(abs_srcdir)`,$$tst \ diff --git a/tests/rm/Makefile.am b/tests/rm/Makefile.am index f29274744..0f760066a 100644 --- a/tests/rm/Makefile.am +++ b/tests/rm/Makefile.am @@ -50,7 +50,6 @@ TESTS_ENVIRONMENT = \ PERL="$(PERL)" \ CU_TEST_NAME=`basename $(abs_srcdir)`,$$tst \ PATH="$(VG_PATH_PREFIX)`pwd`/../../src$(PATH_SEPARATOR)$$PATH" \ - PACKAGE_VERSION=$(PACKAGE_VERSION) \ PROG=rm include $(top_srcdir)/tests/check.mk |