[oe-commits] [openembedded-core] 11/60: qemu: update run-ptest script

git at git.openembedded.org git at git.openembedded.org
Wed Nov 23 11:11:22 UTC 2016


rpurdie pushed a commit to branch master
in repository openembedded-core.

commit 364565f3f3baccc9757ce0dcb393464b38055b4f
Author: Kai Kang <kai.kang at windriver.com>
AuthorDate: Thu Nov 10 15:01:26 2016 +0800

    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 at windriver.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/recipes-devtools/qemu/qemu/run-ptest | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-devtools/qemu/qemu/run-ptest b/meta/recipes-devtools/qemu/qemu/run-ptest
index f4b8e97..2206b31 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'

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list