From: Alex Bennée Date: Wed, 15 Mar 2023 17:43:06 +0000 (+0000) Subject: tests/tcg: add some help output for running individual tests X-Git-Tag: v8.0.0-rc2~8^2~26 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6f6ca067d2;p=thirdparty%2Fqemu.git tests/tcg: add some help output for running individual tests So you can do: cd tests/tcg/aarch64-linux-user make -f ../Makefile.target help To see the list of tests. You can then run each one individually. Signed-off-by: Alex Bennée Acked-by: Richard Henderson Reviewed-by: Thomas Huth Message-Id: <20230315174331.2959-8-alex.bennee@linaro.org> --- diff --git a/tests/tcg/Makefile.target b/tests/tcg/Makefile.target index a3b0aaf8af1..8318caf9247 100644 --- a/tests/tcg/Makefile.target +++ b/tests/tcg/Makefile.target @@ -201,3 +201,10 @@ clean: distclean: rm -f config-cc.mak config-target.mak ../config-$(TARGET).mak + +.PHONY: help +help: + @echo "TCG tests help $(TARGET_NAME)" + @echo "Built with $(CC)" + @echo "Available tests:" + @$(foreach t,$(RUN_TESTS),echo " $t";)