From: Simon Glass Date: Tue, 2 Oct 2018 03:12:36 +0000 (-0600) Subject: Makefile: Add a 'check' target for make X-Git-Tag: v2018.11-rc2~7^2~71 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a3a3f5d5319dc4f25c012edc5446096c14ee1a9a;p=oweals%2Fu-boot.git Makefile: Add a 'check' target for make At present we use 'make tests' to run the tests. For many projects 'make check' is more common, so support that as well. Also add some help to 'make help'. Signed-off-by: Simon Glass --- diff --git a/Makefile b/Makefile index 1d7d5f2a17..3f2d494c4f 100644 --- a/Makefile +++ b/Makefile @@ -1698,6 +1698,10 @@ help: @echo 'Configuration targets:' @$(MAKE) -f $(srctree)/scripts/kconfig/Makefile help @echo '' + @echo 'Test targets:' + @echo '' + @echo ' check - Run all automated tests that use sandbox' + @echo '' @echo 'Other generic targets:' @echo ' all - Build all necessary images depending on configuration' @echo ' tests - Build U-Boot for sandbox and run tests' @@ -1736,7 +1740,7 @@ help: @echo 'Execute "make" or "make all" to build all targets marked with [*] ' @echo 'For further info see the ./README file' -tests: +tests check: $(srctree)/test/run # Documentation targets