Makefile: Replace functions by single RUN_TEST var
Use a single RUN_TEST parametric variable to call the run_test.sh
script, similiarly to what is done for COMPILE.c in GNU Make. Rules
using that variable are then expected to specialize the various
parameters it contains (RUN_TEST_SH, RUN_TEST_ARGS, RUN_TEST_QEMU_ARGS,
...). This makes the code easier to extend to new test targets and more
straightforward to read through fewer indirections and intermediate
variables.
Bug: 195395681
Test: make test
Change-Id: I5cbddacc00ae9f2fa1f0004124c25d900ad6999c
1 file changed