Add some Makefile glue so we have a simple "make check" to run the unit tests.
Signed-off-by: Gerd Hoffmann <kra...@redhat.com> --- 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