Copilot commented on code in PR #931:
URL: https://github.com/apache/tomcat/pull/931#discussion_r2610505453


##########
build.xml:
##########
@@ -2061,18 +2061,47 @@
         <contains text="Failures: 0, Errors: 0" />
       </not>
     </fileset>
+
+    <resourcecount property="skipped.count">
+      <fileset refid="test.result.skippedtests"/>
+    </resourcecount>
+
+    <resourcecount property="failed.count">
+      <fileset refid="test.result.failedtests"/>
+    </resourcecount>
+
+    <pathconvert property="skipped.list" pathsep=";">
+      <fileset refid="test.result.skippedtests"/>
+    </pathconvert>
+
+    <pathconvert property="failed.list" pathsep=";">
+      <fileset refid="test.result.failedtests"/>
+    </pathconvert>
+
+    <condition property="skipped.output" value="${skipped.list}" else="None">
+      <not>
+        <equals arg1="${skipped.count}" arg2="0"/>
+      </not>
+    </condition>
+
+    <condition property="failed.output" value="${failed.list}" else="None">
+      <not>
+        <equals arg1="${failed.count}" arg2="0"/>
+      </not>
+    </condition>
+    

Review Comment:
   This line contains trailing whitespace. Remove the unnecessary spaces at the 
end of the line.
   ```suggestion
   
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to