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
1=== modified file 'lava_android_test/test_definitions/pm-qa/pm-qa.sh'
2--- lava_android_test/test_definitions/pm-qa/pm-qa.sh 2012-07-12 07:09:23 +0000
3+++ lava_android_test/test_definitions/pm-qa/pm-qa.sh 2013-01-22 11:09:59 +0000
4@@ -1,5 +1,7 @@
5 #!/system/bin/sh
6
7+export ANDROID=1
8+
9 test_func(){
10 if [ ! -d /system/xbin/pm-qa ]; then
11 echo "pm-qa=fail"
12@@ -34,8 +36,7 @@
13
14 pwd=$PWD
15 echo $pwd
16- tests_dirs="cpuidle cpufreq cpuhotplug sched_mc suspend thermal utils"
17- files=`find cpuidle cpufreq cpuhotplug sched_mc suspend -name "*.sh"`
18+ tests_dirs="cpuidle cpufreq cpuhotplug thermal"
19
20 for dir in $tests_dirs
21 do
22@@ -44,12 +45,17 @@
23 cd $subDir
24 fi
25
26+ path=`find . -name "*sanity.sh"`
27+ if [ -n "$path" ]; then
28+ /system/bin/sh $path && cd .. && continue
29+ fi
30+
31 echo `pwd`
32- for file in `find . -name "*.sh"`
33+ for file in `find . -name "*[0-9][0-9].sh" | sort`
34 do
35- path=$file
36- echo $path
37- /system/bin/sh $path
38+ path=$file
39+ echo $path
40+ /system/bin/sh $path
41 done
42 cd ..
43 done

Subscribers

People subscribed via source and target branches