weex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ky...@apache.org
Subject [11/14] incubator-weex git commit: * [test] fix codeCoverage bug
Date Thu, 07 Sep 2017 08:18:28 GMT
* [test] fix codeCoverage bug


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

Branch: refs/heads/0.16-dev
Commit: db45674291dc2121dd3ea97f5da38a3a2521f731
Parents: 2cb1eb3
Author: atomtong <tong_huabing@qq.com>
Authored: Wed Sep 6 18:19:26 2017 +0800
Committer: atomtong <tong_huabing@qq.com>
Committed: Wed Sep 6 18:19:26 2017 +0800

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


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/db456742/test/run.sh
----------------------------------------------------------------------
diff --git a/test/run.sh b/test/run.sh
index c9222f8..41b22be 100755
--- a/test/run.sh
+++ b/test/run.sh
@@ -15,12 +15,15 @@ function startWeexServer {
 function buildAndroid {
     dir=$(pwd)
     builddir=$dir'/android'
+    builddirCR=$dir'/android/playground/app'
     current_dir=$PWD;
     cd $builddir;
-    codeCoverageCmd='./gradlew clean assembleDebug -Dmtl.jaCoCoConfig.whitePkgs=com.taobao.weex
-Dmtl.jaCoCoConfig.blackPkgs=com.google.zxing.*'
+    codeCoverageCmd='gradle clean assembleDebug -Dmtl.jaCoCoConfig.whitePkgs=com.taobao.weex
-Dmtl.jaCoCoConfig.blackPkgs=com.google.zxing.*'
     if [ $needCoverage = "cover" ]; then
+    cd $builddirCR
     echo "needCoverage value:$needCoverage"
     $codeCoverageCmd
+    echo $codeCoverageCmd
     fi
     ./gradlew clean assembleDebug
     cd $current_dir;


Mime
View raw message