From 6d9517b1b1c21b80a2e12ad71fffd7dce8722124 Mon Sep 17 00:00:00 2001 From: hjchen2 Date: Sat, 26 Jan 2019 19:40:05 +0800 Subject: [PATCH] update --- tools/ci_build.sh | 6 +++--- tools/ci_run_test.sh | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/ci_build.sh b/tools/ci_build.sh index e1f2a5271d..d725afe459 100755 --- a/tools/ci_build.sh +++ b/tools/ci_build.sh @@ -64,7 +64,7 @@ function check_ndk() { } function build_android_armv7_cpu_only() { -# rm -rf ../build/armeabi-v7a + rm -rf ../build/armeabi-v7a cmake .. \ -B"../build/armeabi-v7a" \ -DANDROID_ABI="armeabi-v7a with NEON" \ @@ -83,7 +83,7 @@ function build_android_armv7_cpu_only() { } function build_android_armv7_gpu() { -# rm -rf ../build/armeabi-v7a + rm -rf ../build/armeabi-v7a cmake .. \ -B"../build/armeabi-v7a" \ -DANDROID_ABI="armeabi-v7a with NEON" \ @@ -236,7 +236,7 @@ function build_linux_fpga() { } function run_android_test() { - ExecuteAndroidTest $1 + ExecuteAndroidTests $1 } function main() { diff --git a/tools/ci_run_test.sh b/tools/ci_run_test.sh index c01d22eef9..6470a97b15 100644 --- a/tools/ci_run_test.sh +++ b/tools/ci_run_test.sh @@ -6,7 +6,7 @@ function AddTest() { operators="${operators} $1" } -function ExecuteAndroidTest() { +function ExecuteAndroidTests() { platform=$1 devices=`adb devices | grep -v devices | grep device | awk -F ' ' '{print $1}'` for device in ${devices}; do -- GitLab