Makefile: Introduce TEST_LISTS and its single rule
Create a single "display test list" rule expecting a target-specific
Make variable, LISTED_TESTS, in order to have the implementation in a
single location.
Introduce the TEST_LISTS variable holding all targets to which the rule
described above applies. New test-list-* targets will be expected to add
themselves to that variable. By doing so, they will also be marked as
dependencies of the test-list target.
Fix the bug in the existing test-list-{boot,crosvm-helloworld} recipes
(now in a single location) where the shell variable was not properly
escaped with a double-$.
Bug: 195395681
Test: make test-list
Change-Id: Ibe1da9bfc1c43e9214d5e3afea9f1b29c5e71ff6
1 file changed