summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-09-08 21:39:54 (EDT)
committer P. J. McDermott <pjm@nac.net>2012-09-08 21:39:54 (EDT)
commit63a799b986670ec4561a81423cf156965af221e5 (patch)
treecc386f7187b8473bb101ea64b650faf351182e94
parent16884e04da44ce279ec7eff8f919925ba63f9c55 (diff)
Pass DESTDIR macro into environment of unit tests.
-rw-r--r--Makefile.in2
-rw-r--r--tests/Makefile.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index db23443..15d761e 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -89,7 +89,7 @@ uninstall:
test:
@printf 'Running tests...\n'
- @cd tests & $(MAKE) test
+ @cd tests & $(MAKE) $(MACROS) test
$(distdir):
@mkdir -p '$(distdir)'
diff --git a/tests/Makefile.in b/tests/Makefile.in
index d686b66..5c03a37 100644
--- a/tests/Makefile.in
+++ b/tests/Makefile.in
@@ -30,4 +30,4 @@ test: $(TESTS)
$(TESTS):
@printf ' SH tests/%s.sh\n' '$@'
- @$(SH) 'tests/$@.sh'
+ @DESTDIR='$(DESTDIR)' $(SH) 'tests/$@.sh'