lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler (JIRA)" <>
Subject [jira] [Commented] (LUCENE-4406) Print out where tests failed at the end of running the Test Suite
Date Wed, 19 Sep 2012 14:10:07 GMT


Uwe Schindler commented on LUCENE-4406:

But SHA1 che chksums are missing:

     [echo] License check under: /mnt/ssd/jenkins/workspace/Lucene-Solr-trunk-Linux/lucene
 [licenses] MISSING sha1 checksum file for: /mnt/ssd/jenkins/workspace/Lucene-Solr-trunk-Linux/lucene/test-framework/lib/junit4-ant-2.0.1.jar
 [licenses] MISSING sha1 checksum file for: /mnt/ssd/jenkins/workspace/Lucene-Solr-trunk-Linux/lucene/test-framework/lib/randomizedtesting-runner-2.0.1.jar
 [licenses] Scanned 19 JAR file(s) for licenses (in 0.26s.), 2 error(s).
> Print out where tests failed at the end of running the Test Suite
> -----------------------------------------------------------------
>                 Key: LUCENE-4406
>                 URL:
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: general/test
>            Reporter: Grant Ingersoll
>            Assignee: Dawid Weiss
>            Priority: Minor
>             Fix For: 5.0, 4.0
> It would be nice if, at the end of running ant test, it spit out the names of which tests
failed so that one doesn't have to go scrolling up through the output or go run grep on the
test-reports as a separate step.
> For another project, I use:
> {code}
> <target name="test-summary">
>     <echo>Looking for summaries in: ${build.dir}/test-reports with basedir: ${basedir}</echo>
>     <echo>Errors:</echo>
>     <exec executable="grep">
>             <arg value="-r"/>
>             <arg value="-rl"/>
>             <arg value="errors=\&quot;[1-9]\&quot;"/>
>             <arg value="${build.dir}/test-reports"/>
>     </exec>
>     <echo>Failures:</echo>
>     <exec executable="grep">
>             <arg value="-r"/>
>             <arg value="-rl"/>
>             <arg value="failures=\&quot;[1-9]\&quot;"/>
>             <arg value="${build.dir}/test-reports"/>
>     </exec>
>   </target>
> {code} 
> which can likely be modified for Lucene.  I can do it, but wanted to see if others had
an opinion.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message