diff options
author | Andreas Färber <afaerber@suse.de> | 2014-04-07 18:33:22 +0200 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2014-04-07 18:33:22 +0200 |
commit | f85e3457cea170b5a0c48e9aa67d316f9e3cbcba (patch) | |
tree | 3fc607ccf685827f24ddb61d950ed990972c5cba | |
parent | 20c50a955fdf02b02f8c75533f456e3fbdf13de1 (diff) |
tests: Update check-clean rule
Only i386, x86_64, sparc and sparc64 qtests were cleaned up.
Make this more generic to not miss any newly tested targets.
Reported-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Suggested-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Andreas Färber <afaerber@suse.de>
-rw-r--r-- | tests/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/Makefile b/tests/Makefile index 6086f68698..88f7105d02 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -394,7 +394,8 @@ check-block: $(patsubst %,check-%, $(check-block-y)) check: check-qapi-schema check-unit check-qtest check-clean: $(MAKE) -C tests/tcg clean - rm -rf $(check-unit-y) $(check-qtest-i386-y) $(check-qtest-x86_64-y) $(check-qtest-sparc64-y) $(check-qtest-sparc-y) tests/*.o $(QEMU_IOTESTS_HELPERS-y) + rm -rf $(check-unit-y) tests/*.o $(QEMU_IOTESTS_HELPERS-y) + rm -rf $(sort $(foreach target,$(SYSEMU_TARGET_LIST), $(check-qtest-$(target)-y))) clean: check-clean |