Fix tests-printers handling for cross compiling.
commit3d6bfcace17a479c2e006a33567af80e6070583f
authorJoseph Myers <joseph@codesourcery.com>
Thu, 8 Dec 2016 18:54:13 +0000 (8 18:54 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Thu, 8 Dec 2016 18:54:13 +0000 (8 18:54 +0000)
treeb9c5c19a39fb7163d84d937c7848837e5d35681d
parentcbd8f9302c9a04bf4fe72a3a1a641faf07614552
Fix tests-printers handling for cross compiling.

The pretty-printers changes resulted in the new tests showing as
UNRESOLVED (missing .out files) when run-built-tests = no, so
resulting in "make check" exiting with error status.

https://sourceware.org/ml/libc-testresults/2016-q4/msg00014.html

This patch moves the use of $(tests-printers) when generating the
summary of results into the setting of tests-expected, which is
appropriately conditional, matching the conditional for when tests
depends on $(tests-printers-out).

Tested with cross to aarch64 with build-many-glibcs.py, and natively
on x86_64.

* Rules [$(run-built-tests) != no] (tests-expected): Add
$(tests-printers).
(tests): Do not pass $(tests-printers) to merge-test-results.sh.
ChangeLog
Rules