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:02:26 +0000 |
commit | 364565f3f3baccc9757ce0dcb393464b38055b4f (patch) | |
tree | 7f74398993287625e607aced73bed3b1beeb00c9 /meta/recipes-devtools/qemu | |
parent | 126783ca25a5ae9daf87ac563239fbff4696a682 (diff) | |
download | openembedded-core-contrib-364565f3f3baccc9757ce0dcb393464b38055b4f.tar.gz |
qemu: update run-ptest script
The Makefile in directory tests has been renamed, then update script
run-ptest to follow the change.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-devtools/qemu')
-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 @@ #!/bin/sh # #This script is used to run qemu test suites -ptestdir=$(pwd) -cd tests +# +ptestdir=$(dirname "$(readlink -f "$0")") export SRC_PATH=$ptestdir -make -k runtest-TESTS | sed '/: OK/ s/^/PASS: /g' + +cd $ptestdir/tests +make -f Makefile.include -k runtest-TESTS | sed '/: OK/ s/^/PASS: /g' |