diff options
| author | Kai Kang <kai.kang@windriver.com> | 2016-11-10 15:01:26 +0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-11-23 11:10:12 +0000 |
| commit | 775e7a49040961a101536c63c4d3ada33138540b (patch) | |
| tree | 58592f304effcd8e7c60e79e488d3f2ec5a1047b | |
| parent | 5acde3db0e1e63c173984bbae641c64fabc33f13 (diff) | |
| download | poky-775e7a49040961a101536c63c4d3ada33138540b.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)
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>
| -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' | ||
