Skip to content

Commit

Permalink
tests/tcg: add some help output for running individual tests
Browse files Browse the repository at this point in the history
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 <alex.bennee@linaro.org>
Acked-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20230315174331.2959-8-alex.bennee@linaro.org>
  • Loading branch information
stsquad committed Mar 22, 2023
1 parent 32ba75a commit 6f6ca06
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/tcg/Makefile.target
Original file line number Diff line number Diff line change
Expand Up @@ -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";)

0 comments on commit 6f6ca06

Please sign in to comment.