On 02/02/2021 21:29, Emmanuel Bourg wrote: > Hi all, > > I'd like to add a mechanism to the Tomcat build to ignore the test > failures, something similar to the Maven testFailureIgnore property. > > In Debian Tomcat is built in an offline container and the tribes tests > fail due to the lack of multicast. So build.xml has been patched to > remove the <fail> tasks, but it would be easier to set a build property > instead. > > Do you think we could add something like this: > > <fail if="test.result.failure" unless:true="${test.ignorefailure}"/>
Why not use the test.exclude property to exclude the tribes tests? See BUILDING.txt for usage. Better to exclude tests you know are not relevant for your test environment rather than ignoring all failures. Mark --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org