You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by sr...@apache.org on 2021/03/12 16:36:14 UTC

[plc4x] branch develop updated: plc4go: Only fail test after report was generated

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

sruehl pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/plc4x.git


The following commit(s) were added to refs/heads/develop by this push:
     new efdf83b  plc4go: Only fail test after report was generated
efdf83b is described below

commit efdf83b0a3b643286e3df7a13e44d59ef964b49e
Author: Sebastian Rühl <sr...@apache.org>
AuthorDate: Fri Mar 12 17:35:57 2021 +0100

    plc4go: Only fail test after report was generated
---
 plc4go/pom.xml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/plc4go/pom.xml b/plc4go/pom.xml
index 930f306..afda502 100644
--- a/plc4go/pom.xml
+++ b/plc4go/pom.xml
@@ -269,7 +269,7 @@
                 <flag>-v</flag>
               </buildFlags>
               <outLogFile>test-out-verbose.log</outLogFile>
-              <ignoreErrorExitCode>false</ignoreErrorExitCode>
+              <ignoreErrorExitCode>true</ignoreErrorExitCode>
               <packages>
                 <package>./...</package>
               </packages>
@@ -285,8 +285,9 @@
             </goals>
             <configuration>
               <exec>go2xunit</exec>
-              <customCommand>-input</customCommand>
+              <customCommand>-fail</customCommand>
               <buildFlags>
+                <flag>-input</flag>
                 <flag>${project.build.directory}${file.separator}reports${file.separator}test-out-verbose.log</flag>
                 <flag>-output</flag>
               </buildFlags>