Replace run_tests.sh with a dynamically-generated Makefile

The script's main purpose is to spawn a parallel job per test case
and configuration. Since that is what Make does for compilation jobs,
this patch turns test jobs into Make targets.

Replace run_tests.sh with gen_makefile.sh, which enumerates tests in
the kvm-unit-tests output folder and generates one Make target per
test case and configuration. Rebuild the list whenever kvm-unit-tests
are recompiled.

Example usage:
	$ make test -j20            # run all tests, 20 parallel jobs
	$ make test-kut-nvhe        # run all nVHE tests
	$ make test-kut-nvhe-psci   # run one specific test

Change-Id: Ic1930c752814e68f8437ceb08e9b8c975ceca047
4 files changed
tree: a73755181e1877604aa7f9bbd52c70f11a1b4497
  1. aarch64/
  2. aarch64-unit-tests/
  3. kvm-unit-tests/
  4. common.inc
  5. Makefile