summaryrefslogtreecommitdiffstats
path: root/scripts/qemuimage-testlib
diff options
context:
space:
mode:
authorJiajun Xu <jiajun.xu@intel.com>2011-02-10 14:50:14 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-10 15:27:50 (GMT)
commitd2cfd3c54fd27ea302af390c3c9e9ae60cf26604 (patch)
treeb7319c0b11d8958f5884fde261a20183c2752540 /scripts/qemuimage-testlib
parent33df485498c6338ddcbc711f2807d8ef40b3997b (diff)
downloadpoky-d2cfd3c54fd27ea302af390c3c9e9ae60cf26604.tar.gz
qemuimagetest: Rename test scenario file from poky-image-sdk to poky-image-sato-sdk
Signed-off-by Jiajun Xu <jiajun.xu@intel.com>
Diffstat (limited to 'scripts/qemuimage-testlib')
-rw-r--r--scripts/qemuimage-testlib6
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/qemuimage-testlib b/scripts/qemuimage-testlib
index 823cbfa..720ee8f 100644
--- a/scripts/qemuimage-testlib
+++ b/scripts/qemuimage-testlib
@@ -305,7 +305,8 @@ Test_Find_Image()
305 else 305 else
306 for i in `dir ${where}` 306 for i in `dir ${where}`
307 do 307 do
308 echo $i | grep -q "${kernel}.*${arch}.*\.${extension}" 308 # Exclude qemux86-64 when target is qemux86
309 echo $i | grep "${kernel}.*${arch}.*\.${extension}" | grep -qv "${kernel}.*${arch}-64.*\.${extension}"
309 if [ $? -eq 0 ]; then 310 if [ $? -eq 0 ]; then
310 echo ${where}/${i} 311 echo ${where}/${i}
311 return 0 312 return 0
@@ -323,7 +324,8 @@ Test_Find_Image()
323 else 324 else
324 for i in `dir ${where}` 325 for i in `dir ${where}`
325 do 326 do
326 echo $i | grep -q "${target}-${arch}.*\.${extension}" 327 # Exclude qemux86-64 when target is qemux86
328 echo $i | grep "${target}-${arch}.*\.${extension}" | grep -qv "${target}-${arch}-64.*\.${extension}"
327 if [ $? -eq 0 ]; then 329 if [ $? -eq 0 ]; then
328 echo ${where}/${i} 330 echo ${where}/${i}
329 return 0 331 return 0