diff --git a/tools/ci_build.sh b/tools/ci_build.sh index e1f2a5271d5b8d2eb279e58a66dced2def06d61b..d725afe4595b8e88578ec6c2f0f3c78bc0807a1b 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 c01d22eef93903602f865b068d68573726bdc084..6470a97b15a4497cf933ff0a22befa34383dd890 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