Merge lp:~hongbo-zhang/lava-android-test/lava-android-test into lp:lava-android-test

Proposed by Hongbo Zhang
Status: Needs review
Proposed branch: lp:~hongbo-zhang/lava-android-test/lava-android-test
Merge into: lp:lava-android-test
Diff against target: 43 lines (+12/-6)
1 file modified
lava_android_test/test_definitions/pm-qa/pm-qa.sh (+12/-6)
To merge this branch: bzr merge lp:~hongbo-zhang/lava-android-test/lava-android-test
Reviewer Review Type Date Requested Status
Linaro Validation Team Pending
Review via email: mp+144277@code.launchpad.net

Description of the change

Consolidating pm-qa test.

To post a comment you must log in.

Unmerged revisions

231. By Hong Bo ZHANG <dp599@stebjsxu0148>

update pm-qa test

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'lava_android_test/test_definitions/pm-qa/pm-qa.sh'
--- lava_android_test/test_definitions/pm-qa/pm-qa.sh 2012-07-12 07:09:23 +0000
+++ lava_android_test/test_definitions/pm-qa/pm-qa.sh 2013-01-22 11:09:59 +0000
@@ -1,5 +1,7 @@
1#!/system/bin/sh1#!/system/bin/sh
22
3export ANDROID=1
4
3test_func(){5test_func(){
4 if [ ! -d /system/xbin/pm-qa ]; then6 if [ ! -d /system/xbin/pm-qa ]; then
5 echo "pm-qa=fail"7 echo "pm-qa=fail"
@@ -34,8 +36,7 @@
3436
35 pwd=$PWD37 pwd=$PWD
36 echo $pwd38 echo $pwd
37 tests_dirs="cpuidle cpufreq cpuhotplug sched_mc suspend thermal utils"39 tests_dirs="cpuidle cpufreq cpuhotplug thermal"
38 files=`find cpuidle cpufreq cpuhotplug sched_mc suspend -name "*.sh"`
3940
40 for dir in $tests_dirs41 for dir in $tests_dirs
41 do42 do
@@ -44,12 +45,17 @@
44 cd $subDir45 cd $subDir
45 fi46 fi
4647
48 path=`find . -name "*sanity.sh"`
49 if [ -n "$path" ]; then
50 /system/bin/sh $path && cd .. && continue
51 fi
52
47 echo `pwd`53 echo `pwd`
48 for file in `find . -name "*.sh"`54 for file in `find . -name "*[0-9][0-9].sh" | sort`
49 do55 do
50 path=$file56 path=$file
51 echo $path57 echo $path
52 /system/bin/sh $path58 /system/bin/sh $path
53 done59 done
54 cd ..60 cd ..
55 done61 done

Subscribers

People subscribed via source and target branches