[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 3/4] add "make check" target
From: |
Gerd Hoffmann |
Subject: |
[Qemu-devel] [PATCH 3/4] add "make check" target |
Date: |
Thu, 1 Sep 2011 17:42:18 +0200 |
Add some Makefile glue so we have a simple "make check"
to run the unit tests.
Signed-off-by: Gerd Hoffmann <address@hidden>
---
Makefile | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile
index 2963c8b..80c0bc2 100644
--- a/Makefile
+++ b/Makefile
@@ -289,6 +289,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
--
1.7.1