diff options
author | Ting Liu <ting.liu@nxp.com> | 2020-04-18 23:54:13 +0800 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2020-04-20 16:17:28 -0300 |
commit | 8e115ab460032de8a3495588b642ca82892f93b1 (patch) | |
tree | 425267a6e5a2e00c77b1812866f2a53e4fbcb52f /recipes-devtools/qemu/qemu-qoriq/0002-Add-subpackage-ptest-which-runs-all-unit-test-cases-.patch | |
parent | 9932e8145f250b3b1f86eb0c6af2cc48bf98ae45 (diff) | |
download | meta-freescale-8e115ab460032de8a3495588b642ca82892f93b1.tar.gz |
qemu-qoriq: upgrade to 4.1
Signed-off-by: Ting Liu <ting.liu@nxp.com>
Diffstat (limited to 'recipes-devtools/qemu/qemu-qoriq/0002-Add-subpackage-ptest-which-runs-all-unit-test-cases-.patch')
-rw-r--r-- | recipes-devtools/qemu/qemu-qoriq/0002-Add-subpackage-ptest-which-runs-all-unit-test-cases-.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/recipes-devtools/qemu/qemu-qoriq/0002-Add-subpackage-ptest-which-runs-all-unit-test-cases-.patch b/recipes-devtools/qemu/qemu-qoriq/0002-Add-subpackage-ptest-which-runs-all-unit-test-cases-.patch new file mode 100644 index 000000000..7f7da5100 --- /dev/null +++ b/recipes-devtools/qemu/qemu-qoriq/0002-Add-subpackage-ptest-which-runs-all-unit-test-cases-.patch | |||
@@ -0,0 +1,33 @@ | |||
1 | From 8ee6281516bd9210e75e91d705da8916bab3bf51 Mon Sep 17 00:00:00 2001 | ||
2 | From: Juro Bystricky <juro.bystricky@intel.com> | ||
3 | Date: Thu, 31 Aug 2017 11:06:56 -0700 | ||
4 | Subject: [PATCH] Add subpackage -ptest which runs all unit test cases for | ||
5 | qemu. | ||
6 | |||
7 | Upstream-Status: Pending | ||
8 | |||
9 | Signed-off-by: Kai Kang <kai.kang@windriver.com> | ||
10 | |||
11 | Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> | ||
12 | |||
13 | --- | ||
14 | tests/Makefile.include | 8 ++++++++ | ||
15 | 1 file changed, 8 insertions(+) | ||
16 | |||
17 | diff --git a/tests/Makefile.include b/tests/Makefile.include | ||
18 | index 8566f5f1..52d0320b 100644 | ||
19 | --- a/tests/Makefile.include | ||
20 | +++ b/tests/Makefile.include | ||
21 | @@ -1210,4 +1210,12 @@ all: $(QEMU_IOTESTS_HELPERS-y) | ||
22 | -include $(wildcard tests/*.d) | ||
23 | -include $(wildcard tests/libqos/*.d) | ||
24 | |||
25 | +buildtest-TESTS: $(check-unit-y) | ||
26 | + | ||
27 | +runtest-TESTS: | ||
28 | + for f in $(check-unit-y); do \ | ||
29 | + nf=$$(echo $$f | sed 's/tests\//\.\//g'); \ | ||
30 | + $$nf; \ | ||
31 | + done | ||
32 | + | ||
33 | endif | ||