blob: f379948f14b3d37cd05ccc5e6a788ae4fe5f7d29 [file] [log] [blame]
Andrew Geisslerd25ed322020-06-27 00:28:28 -05001From 5da6cef7761157a003e7ebde74fb3cf90ab396d9 Mon Sep 17 00:00:00 2001
Brad Bishopc342db32019-05-15 21:57:59 -04002From: Juro Bystricky <juro.bystricky@intel.com>
3Date: Thu, 31 Aug 2017 11:06:56 -0700
4Subject: [PATCH] Add subpackage -ptest which runs all unit test cases for
5 qemu.
6
7Upstream-Status: Pending
8
9Signed-off-by: Kai Kang <kai.kang@windriver.com>
10
11Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
12
Andrew Geisslerd25ed322020-06-27 00:28:28 -050013[update patch context]
14Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Brad Bishopc342db32019-05-15 21:57:59 -040015---
16 tests/Makefile.include | 8 ++++++++
17 1 file changed, 8 insertions(+)
18
Andrew Geissler635e0e42020-08-21 15:58:33 -050019Index: qemu-5.1.0/tests/Makefile.include
20===================================================================
21--- qemu-5.1.0.orig/tests/Makefile.include
22+++ qemu-5.1.0/tests/Makefile.include
23@@ -982,4 +982,12 @@ all: $(QEMU_IOTESTS_HELPERS-y)
Andrew Geisslerd25ed322020-06-27 00:28:28 -050024 -include $(wildcard tests/qtest/*.d)
25 -include $(wildcard tests/qtest/libqos/*.d)
Brad Bishopc342db32019-05-15 21:57:59 -040026
27+buildtest-TESTS: $(check-unit-y)
28+
29+runtest-TESTS:
30+ for f in $(check-unit-y); do \
31+ nf=$$(echo $$f | sed 's/tests\//\.\//g'); \
32+ $$nf; \
33+ done
34+
35 endif