qemuimagetest: Rename test scenario file from poky-image-sdk to poky-image-sato-sdk
Signed-off-by Jiajun Xu <jiajun.xu@intel.com>
This commit is contained in:
parent
33df485498
commit
d2cfd3c54f
|
@ -305,7 +305,8 @@ Test_Find_Image()
|
||||||
else
|
else
|
||||||
for i in `dir ${where}`
|
for i in `dir ${where}`
|
||||||
do
|
do
|
||||||
echo $i | grep -q "${kernel}.*${arch}.*\.${extension}"
|
# Exclude qemux86-64 when target is qemux86
|
||||||
|
echo $i | grep "${kernel}.*${arch}.*\.${extension}" | grep -qv "${kernel}.*${arch}-64.*\.${extension}"
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
echo ${where}/${i}
|
echo ${where}/${i}
|
||||||
return 0
|
return 0
|
||||||
|
@ -323,7 +324,8 @@ Test_Find_Image()
|
||||||
else
|
else
|
||||||
for i in `dir ${where}`
|
for i in `dir ${where}`
|
||||||
do
|
do
|
||||||
echo $i | grep -q "${target}-${arch}.*\.${extension}"
|
# Exclude qemux86-64 when target is qemux86
|
||||||
|
echo $i | grep "${target}-${arch}.*\.${extension}" | grep -qv "${target}-${arch}-64.*\.${extension}"
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
echo ${where}/${i}
|
echo ${where}/${i}
|
||||||
return 0
|
return 0
|
||||||
|
|
Loading…
Reference in New Issue