diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Rules | 7 |
2 files changed, 11 insertions, 1 deletions
@@ -1,5 +1,10 @@ 2016-11-04 Joseph Myers <joseph@codesourcery.com> + * Rules (tests-expected): New variable, depending on + $(run-built-tests). + (tests): Pass $(tests-expected) to merge-test-results.sh, not + $(tests). + * Rules [$(run-built-tests) = no] (tests): Do not depend on $(tests-unsupported). @@ -124,9 +124,14 @@ endif tests-special-notdir = $(patsubst $(objpfx)%, %, $(tests-special)) xtests-special-notdir = $(patsubst $(objpfx)%, %, $(xtests-special)) +ifeq ($(run-built-tests),no) +tests-expected = +else +tests-expected = $(tests) +endif tests: $(..)scripts/merge-test-results.sh -s $(objpfx) $(subdir) \ - $(sort $(tests) $(tests-special-notdir:.out=)) \ + $(sort $(tests-expected) $(tests-special-notdir:.out=)) \ > $(objpfx)subdir-tests.sum xtests: $(..)scripts/merge-test-results.sh -s $(objpfx) $(subdir) \ |