Fix pretty printer tests for run-built-tests == no

In my change to add configure tests for python I had a brainfart where
I tried to filter out unsupported tests from tests-printers-programs
instead of tests-printers to select tests to build.  I realize now
that all of that is completely unnecessary and it would be safe to
just build the tests as long as we don't try to run it.

This patch reverts that bit of the change.  Tested with
run-built-tests = no in config.make.

	* Rules (tests): Add tests-printers-programs to tests to be
	built.
This commit is contained in:
Siddhesh Poyarekar 2016-12-30 09:42:38 +05:30
parent a9b0101475
commit 31cd054816
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2016-12-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
* Rules (tests): Add tests-printers-programs to tests to be
built.
2016-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
* sysvipc/Makefile (tests): Add test-sysvshm.

6
Rules
View File

@ -129,9 +129,9 @@ endif
others: $(py-const)
ifeq ($(run-built-tests),no)
tests: $(addprefix $(objpfx),$(filter-out $(tests-unsupported),$(tests) \
$(tests-printers-programs)) \
$(test-srcs)) $(tests-special)
tests: $(addprefix $(objpfx),$(filter-out $(tests-unsupported),$(tests)) \
$(test-srcs)) $(tests-special) \
$(tests-printers-programs)
xtests: tests $(xtests-special)
else
tests: $(tests:%=$(objpfx)%.out) $(tests-special) $(tests-printers-out)