From: Gerd Hoffmann Date: Thu, 1 Sep 2011 15:42:18 +0000 (+0200) Subject: add "make check" target X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=ea7f78047d8ead786783972bf061d355a68e3382;p=qemu.git add "make check" target Add some Makefile glue so we have a simple "make check" to run the unit tests. Signed-off-by: Gerd Hoffmann Signed-off-by: Anthony Liguori --- diff --git a/Makefile b/Makefile index 5696e441cf..4f6eaa4ba6 100644 --- a/Makefile +++ b/Makefile @@ -305,6 +305,12 @@ endif test speed: all $(MAKE) -C tests $@ +.PHONY: check +check: $(patsubst %,run-check-%,$(CHECKS)) + +run-check-%: % + ./$< + .PHONY: TAGS TAGS: find "$(SRC_PATH)" -name '*.[hc]' -print0 | xargs -0 etags