summaryrefslogtreecommitdiff
path: root/antutu6.0/execute.sh
diff options
context:
space:
mode:
Diffstat (limited to 'antutu6.0/execute.sh')
-rwxr-xr-xantutu6.0/execute.sh14
1 files changed, 13 insertions, 1 deletions
diff --git a/antutu6.0/execute.sh b/antutu6.0/execute.sh
index 09a2593..a354889 100755
--- a/antutu6.0/execute.sh
+++ b/antutu6.0/execute.sh
@@ -21,6 +21,18 @@ function install_3d_benchmark(){
fi
}
+# hack for https://bugs.linaro.org/show_bug.cgi?id=2389
+function hack_for_dma_hdmi_audio(){
+ adb root
+ adb shell stop media
+ adb shell start media
+}
+
+function func_aututu6_post_install(){
+ install_3d_benchmark
+ hack_for_dma_hdmi_audio
+}
+
function uninstall_3d_benchmark(){
pkg_3d="com.antutu.benchmark.full"
func_kill_uninstall "${apk_3d_name}" "${apk_3d_pkg}"
@@ -29,7 +41,7 @@ function uninstall_3d_benchmark(){
#following should no need to modify
parent_dir=`dirname ${0}`
source "${parent_dir}/../common/common.sh"
-post_install="install_3d_benchmark"
+post_install="func_aututu6_post_install"
post_uninstall="uninstall_3d_benchmark"
timeout=30m
main "$@"