diff options
author | Kai Kang <kai.kang@windriver.com> | 2016-11-10 15:01:26 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-01-11 17:21:41 +0000 |
commit | 460bbf456bdb151132f1f46ed83ab9bc08a2aaf2 (patch) | |
tree | 538c42e945780273a8b968a14ce5853e2bed2cab | |
parent | 8d1afc2a0db29426f0885c259273f95dce0aa4ab (diff) | |
download | poky-460bbf456bdb151132f1f46ed83ab9bc08a2aaf2.tar.gz |
qemu: update run-ptest script
The Makefile in directory tests has been renamed, then update script
run-ptest to follow the change.
(From OE-Core rev: 364565f3f3baccc9757ce0dcb393464b38055b4f)
(From OE-Core rev: aece2afafbd304adee30978537b9404a9344dd4e)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-devtools/qemu/qemu/run-ptest | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/meta/recipes-devtools/qemu/qemu/run-ptest b/meta/recipes-devtools/qemu/qemu/run-ptest index f4b8e97e1e..2206b31922 100644 --- a/meta/recipes-devtools/qemu/qemu/run-ptest +++ b/meta/recipes-devtools/qemu/qemu/run-ptest | |||
@@ -1,8 +1,10 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | # | 2 | # |
3 | #This script is used to run qemu test suites | 3 | #This script is used to run qemu test suites |
4 | ptestdir=$(pwd) | 4 | # |
5 | cd tests | ||
6 | 5 | ||
6 | ptestdir=$(dirname "$(readlink -f "$0")") | ||
7 | export SRC_PATH=$ptestdir | 7 | export SRC_PATH=$ptestdir |
8 | make -k runtest-TESTS | sed '/: OK/ s/^/PASS: /g' | 8 | |
9 | cd $ptestdir/tests | ||
10 | make -f Makefile.include -k runtest-TESTS | sed '/: OK/ s/^/PASS: /g' | ||