diff options
author | Ting Liu <ting.liu@freescale.com> | 2015-12-24 11:30:34 +0800 |
---|---|---|
committer | Zhenhua Luo <zhenhua.luo@nxp.com> | 2015-12-28 11:01:15 +0800 |
commit | 1c26752509c731e0251eadcd0bcb175c904e8822 (patch) | |
tree | 1c8100ec8888e75d49ae3025edf38d1026fe0cad /recipes-devtools/qemu/qemu/add-ptest-in-makefile.patch | |
parent | 99690ef88cb52a18ed25e059f1328f069f415467 (diff) | |
download | meta-fsl-ppc-1c26752509c731e0251eadcd0bcb175c904e8822.tar.gz |
qemu_fslgit: import ptest patches from poky
Signed-off-by: Ting Liu <ting.liu@freescale.com>
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Diffstat (limited to 'recipes-devtools/qemu/qemu/add-ptest-in-makefile.patch')
-rw-r--r-- | recipes-devtools/qemu/qemu/add-ptest-in-makefile.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/recipes-devtools/qemu/qemu/add-ptest-in-makefile.patch b/recipes-devtools/qemu/qemu/add-ptest-in-makefile.patch new file mode 100644 index 0000000..a99f720 --- /dev/null +++ b/recipes-devtools/qemu/qemu/add-ptest-in-makefile.patch | |||
@@ -0,0 +1,29 @@ | |||
1 | Upstream-Status: Pending | ||
2 | |||
3 | Add subpackage -ptest which runs all unit test cases for qemu. | ||
4 | |||
5 | Signed-off-by: Kai Kang <kai.kang@windriver.com> | ||
6 | --- | ||
7 | tests/Makefile | 10 ++++++++++ | ||
8 | 1 file changed, 10 insertions(+) | ||
9 | |||
10 | diff --git a/tests/Makefile b/tests/Makefile | ||
11 | index 88f7105..3f40b4b 100644 | ||
12 | --- a/tests/Makefile | ||
13 | +++ b/tests/Makefile | ||
14 | @@ -405,3 +405,12 @@ all: $(QEMU_IOTESTS_HELPERS-y) | ||
15 | |||
16 | -include $(wildcard tests/*.d) | ||
17 | -include $(wildcard tests/libqos/*.d) | ||
18 | + | ||
19 | +buildtest-TESTS: $(check-unit-y) | ||
20 | + | ||
21 | +runtest-TESTS: | ||
22 | + for f in $(check-unit-y); do \ | ||
23 | + nf=$$(echo $$f | sed 's/tests\//\.\//g'); \ | ||
24 | + $$nf; \ | ||
25 | + done | ||
26 | + | ||
27 | -- | ||
28 | 1.7.9.5 | ||
29 | |||