That would work, but I guess you'd have to copy the run-tests-helper task from ant_test_rules_r2.xml into your own build file so you could run the exec yourself to capture the output? I'd prefer to just rely on the Android configured platform's script rather than copy and paste what they already have.
On Jun 8, 4:35 pm, Bob Kerns <[email protected]> wrote: > If the output is XML, the <xslt/> task should suffice. I haven't > checked if the Ant folks did the right thing, but hitting an > xsl:message element with terminate=yes should abort the build. > > If the output is text, there are various ways to search through that > data, set some property, and as a result call the <fail/> task. Life > is much easier if you include the ant-contrib tasks in your > repertoire. > > On Jun 8, 1:28 am, whitemice <[email protected]> wrote: > > > Hi Xavier > > Thanks for the feedback. I haven't found a utility for parsing the > > output (XML or otherwise) and breaking the build. If no one can > > suggest one, I'll just go an write one myself. > > > Regards > > Mark > > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

