You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by al...@apache.org on 2023/02/12 22:13:04 UTC

[dubbo-samples] branch master updated: Update jacoco exec check

This is an automated email from the ASF dual-hosted git repository.

albumenj pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo-samples.git


The following commit(s) were added to refs/heads/master by this push:
     new 11178217 Update jacoco exec check
11178217 is described below

commit 11178217d838880bb30bb45cc0b95a36d43c9292
Author: Albumen Kevin <jh...@gmail.com>
AuthorDate: Mon Feb 13 06:12:45 2023 +0800

    Update jacoco exec check
---
 .../src/main/java/org/apache/dubbo/test/JacocoReport.java             | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/dubbo-test-jacoco-merger/src/main/java/org/apache/dubbo/test/JacocoReport.java b/test/dubbo-test-jacoco-merger/src/main/java/org/apache/dubbo/test/JacocoReport.java
index 60b490fd..6334c763 100644
--- a/test/dubbo-test-jacoco-merger/src/main/java/org/apache/dubbo/test/JacocoReport.java
+++ b/test/dubbo-test-jacoco-merger/src/main/java/org/apache/dubbo/test/JacocoReport.java
@@ -35,8 +35,8 @@ public class JacocoReport {
         List<File> classFiles = loadClassFiles(new File(dubboRepo));
         List<File> sourceFiles = loadSourceFiles(new File(dubboRepo));
 
-        if (!new File(basePath + File.separator + "target" + File.separator + "jacoco.exec").exists()) {
-            System.out.println(basePath + File.separator + "target" + File.separator + "jacoco.exec" + " does not exist");
+        if (execFiles.isEmpty())
+            System.out.println(basePath + File.separator + "target" + File.separator + "jacoco*.exec" + " does not exist");
             return;
         }
 


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org