This is merely a thin wrapper of the old "test" target, but in a
consistent form of Makefile structure.
Next patches will actually convert the rules from the old "make test".
Signed-off-by: Fam Zheng <famz@redhat.com>
---
Makefile | 1 +
tests/Makefile.include | 1 +
tests/tcg/Makefile.include | 3 +++
3 files changed, 5 insertions(+)
create mode 100644 tests/tcg/Makefile.include
diff --git a/Makefile b/Makefile
index c1e35b1fd0..c44be86cef 100644
--- a/Makefile
+++ b/Makefile
@@ -282,6 +282,7 @@ dummy := $(call unnest-vars,, \
trace-obj-y)
include $(SRC_PATH)/tests/Makefile.include
+include $(SRC_PATH)/tests/tcg/Makefile.include
all: $(DOCS) $(TOOLS) $(HELPERS-y) recurse-all modules
diff --git a/tests/Makefile.include b/tests/Makefile.include
index debaf845db..0e22d90640 100644
--- a/tests/Makefile.include
+++ b/tests/Makefile.include
@@ -10,6 +10,7 @@ check-help:
@echo " make check-speed Run qobject speed tests"
@echo " make check-qapi-schema Run QAPI schema tests"
@echo " make check-block Run block tests"
+ @echo " make check-tcg Clean TCG tests"
@echo " make check-report.html Generates an HTML test report"
@echo " make check-clean Clean the tests"
@echo
diff --git a/tests/tcg/Makefile.include b/tests/tcg/Makefile.include
new file mode 100644
index 0000000000..e5fea1c8c5
--- /dev/null
+++ b/tests/tcg/Makefile.include
@@ -0,0 +1,3 @@
+
+check-tcg:
+ $(MAKE) -C tests/tcg test
--
2.13.5