From 71fcb96874f3f55eab737d1d7853337785823047 Mon Sep 17 00:00:00 2001 From: tensor-tang Date: Thu, 6 Jun 2019 16:37:44 +0800 Subject: [PATCH] mobile ci script (#17796) * test mobile ci test=develop * update --- paddle/fluid/lite/tools/build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/paddle/fluid/lite/tools/build.sh b/paddle/fluid/lite/tools/build.sh index 379e2ea13c2..96a378441b4 100755 --- a/paddle/fluid/lite/tools/build.sh +++ b/paddle/fluid/lite/tools/build.sh @@ -92,6 +92,7 @@ function build_test_server { # Build the code and run lite server tests. This is executed in the CI system. function build_test_arm { + adb kill-server adb devices | grep emulator | cut -f1 | while read line; do adb -s $line emu kill; done # start android arm64-v8a armeabi-v7a emulators first echo n | avdmanager create avd -f -n paddle-armv8 -k "system-images;android-24;google_apis;arm64-v8a" @@ -177,7 +178,7 @@ function main { shift ;; cmake_arm) - cmake_arm + cmake_arm $2 $3 shift ;; test_server) -- GitLab