summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/check.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/check.mk b/tests/check.mk
index b80dce8ac..1e3ca8502 100644
--- a/tests/check.mk
+++ b/tests/check.mk
@@ -44,8 +44,8 @@ CLEANFILES =
CLEANFILES += .built-programs
check-am: .built-programs
.built-programs:
- $(AM_V_GEN)cd $(top_builddir)/src \
- && MAKEFLAGS= $(MAKE) -s built_programs.list \
+ $(AM_V_GEN)(cd $(top_builddir)/src \
+ && MAKEFLAGS= $(MAKE) -s built_programs.list) \
> $@-t && mv $@-t $@
# Note that the first lines are statements. They ensure that environment