* [test] android jacoco test ctl params

Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/29a701e0
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/29a701e0
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/29a701e0

Branch: refs/heads/0.16-dev
Commit: 29a701e0d85bbb84cd46643e3f65122c50761d34
Parents: a17c00f
Author: atomtong <tong_huab...@qq.com>
Authored: Tue Sep 5 17:42:08 2017 +0800
Committer: atomtong <tong_huab...@qq.com>
Committed: Tue Sep 5 17:42:08 2017 +0800

----------------------------------------------------------------------
 test/run.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/29a701e0/test/run.sh
----------------------------------------------------------------------
diff --git a/test/run.sh b/test/run.sh
index c7909cf..c9222f8 100755
--- a/test/run.sh
+++ b/test/run.sh
@@ -17,8 +17,10 @@ function buildAndroid {
     builddir=$dir'/android'
     current_dir=$PWD;
     cd $builddir;
+    codeCoverageCmd='./gradlew clean assembleDebug 
-Dmtl.jaCoCoConfig.whitePkgs=com.taobao.weex 
-Dmtl.jaCoCoConfig.blackPkgs=com.google.zxing.*'
     if [ $needCoverage = "cover" ]; then
-    ./gradlew clean assembleDebug -Dmtl.jaCoCoConfig.whitePkgs=com.taobao.weex 
-Dmtl.jaCoCoConfig.blackPkgs=com.google.zxing.*;
+    echo "needCoverage value:$needCoverage"
+    $codeCoverageCmd
     fi
     ./gradlew clean assembleDebug
     cd $current_dir;

Reply via email to