summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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'