mirror of
https://github.com/Motorhead1991/qemu.git
synced 2026-02-26 14:15:09 -07:00
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 <kraxel@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
fffbeb750e
commit
ea7f78047d
1 changed files with 6 additions and 0 deletions
6
Makefile
6
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue