summaryrefslogtreecommitdiff
path: root/tests/check.mk
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2007-10-05 12:14:16 +0200
committerJim Meyering <meyering@redhat.com>2007-10-05 12:57:03 +0200
commit068fa34adcb846244c81704de2872102310de86e (patch)
tree0aa9a38da6b0b4564c1af0b0045d3ea8ba3e48da /tests/check.mk
parentf8cd8d524ccec3e56431596f0cc647724e7192ae (diff)
downloadcoreutils-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.
Diffstat (limited to 'tests/check.mk')
-rw-r--r--tests/check.mk1
1 files changed, 1 insertions, 0 deletions
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)