summaryrefslogtreecommitdiff
path: root/common/scripts/pm-qa.sh
diff options
context:
space:
mode:
Diffstat (limited to 'common/scripts/pm-qa.sh')
-rwxr-xr-xcommon/scripts/pm-qa.sh53
1 files changed, 0 insertions, 53 deletions
diff --git a/common/scripts/pm-qa.sh b/common/scripts/pm-qa.sh
deleted file mode 100755
index ed96a87..0000000
--- a/common/scripts/pm-qa.sh
+++ /dev/null
@@ -1,53 +0,0 @@
-#!/system/bin/sh
-
-scripts_dir="/system/bin/pm-qa"
-test_func(){
- if [ ! -d "${scripts_dir}" ]; then
- echo "pm-qa=fail"
- exit
- fi
-
- bin_dir="/data/bin"
-
- if [ ! -d $bin_dir ]; then
- mkdir $bin_dir
- fi
-
- cd ${bin_dir}
-
- export PATH=${bin_dir}:$PATH
-
- cd "${scripts_dir}"
-
- pwd_dir=$PWD
- echo $pwd
- tests_dirs="cpuidle cpufreq cpuhotplug cputopology thermal"
-
- for dir in $tests_dirs; do
- var=$dir'_sanity.sh'
- subDir=${pwd_dir}/$dir
- if [ -d $subDir ]; then
- cd $subDir
- else
- continue
- fi
-
- echo `pwd`
-
- /system/bin/sh $var
- if [ $? -ne 1 ]; then
- continue
- fi
-
- for file in `find . -name "*.sh" | sort`; do
- path=$file
- echo $path
- /system/bin/sh $path
- done
- cd ..
- done
-
- echo "pm-qa=pass"
-}
-
-test_func