]> git.proxmox.com Git - mirror_qemu.git/commit
mtest2make: unify tests that appear in multiple suites
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 2 Sep 2020 11:19:43 +0000 (07:19 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 8 Sep 2020 05:17:09 +0000 (07:17 +0200)
commit40d9b74eafc9db5d19b92e32932ba915e6e2e664
tree3075703cc71b6103422a839a085374cfad57954c
parentd322e84eef850d1e16bca81ac9b6811f13a8d7a7
mtest2make: unify tests that appear in multiple suites

Whenever a test appears in multiple suites, the rules generated
by mtest2make are currently running it twice.  Instead, after
this patch we generate a phony target for each test and we have
a generic "run-tests" target depend on all the tests that were
chosen on the command line.  Tests that appear in multiple suites
will be added to the prerequisites just once.

This has other advantages: it removes the handling of -k and
it increases parallelism.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
scripts/mtest2make.py