From ad65aa882c4ed744fc5bae6ccd8630c57251c941 Mon Sep 17 00:00:00 2001 From: Anthony Liguori Date: Tue, 10 Jan 2012 13:10:51 -0600 Subject: test: eliminate libcheck tests and have make check use gtester Signed-off-by: Anthony Liguori --- tests/Makefile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'tests') diff --git a/tests/Makefile b/tests/Makefile index 54c95bcfab..efde63a5f3 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -1,3 +1,7 @@ +CHECKS = check-qdict check-qfloat check-qint check-qstring check-qlist +CHECKS += check-qjson test-qmp-output-visitor test-qmp-input-visitor +CHECKS += test-coroutine + check-qint.o check-qstring.o check-qdict.o check-qlist.o check-qfloat.o check-qjson.o test-coroutine.o: $(GENERATED_HEADERS) check-qint: check-qint.o qint.o $(tools-obj-y) @@ -31,8 +35,5 @@ test-qmp-commands.o: $(addprefix $(qapi-dir)/, test-qapi-types.c test-qapi-types test-qmp-commands: test-qmp-commands.o $(qobject-obj-y) $(qapi-obj-y) $(tools-obj-y) $(qapi-dir)/test-qapi-visit.o $(qapi-dir)/test-qapi-types.o $(qapi-dir)/test-qmp-marshal.o module.o .PHONY: check -check: $(patsubst %,run-check-%,$(CHECKS)) - -run-check-%: % - ./$< - +check: $(CHECKS) + gtester $(CHECKS) -- cgit v1.2.3