aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--support/Makefile2
2 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index f188d88..ad20821 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2016-12-30 Joseph Myers <joseph@codesourcery.com>
+
+ * support/Makefile (tests-special): Make definition conditional on
+ [$(run-built-tests) = yes].
+ ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
+ on [$(run-built-tests) = yes].
+
2016-12-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
* Rules (tests): Add tests-printers-programs to tests to be
diff --git a/support/Makefile b/support/Makefile
index 1bde8bd..4e9d42e 100644
--- a/support/Makefile
+++ b/support/Makefile
@@ -67,6 +67,7 @@ tests = \
README-testing \
tst-support_record_failure \
+ifeq ($(run-built-tests),yes)
tests-special = \
$(objpfx)tst-support_record_failure-2.out
@@ -76,5 +77,6 @@ $(objpfx)tst-support_record_failure-2.out: tst-support_record_failure-2.sh \
'$(run-program-env)' '$(test-program-prefix-after-env)' \
> $@; \
$(evaluate-test)
+endif
include ../Rules