diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2011-09-01 17:42:18 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2011-11-01 11:50:20 -0500 |
commit | ea7f78047d8ead786783972bf061d355a68e3382 (patch) | |
tree | d5f5ccf8aee6e95ae052d4e16e0ab720a8f7f993 /Makefile | |
parent | fffbeb750e1d137f09b9c417ed1fb79963f6abcd (diff) |
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>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 |