test results

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

test results

Scott Brunza
I searched the mailing lists and google, but only found one reference from google as a _realy_large_ pipermail archive.

I have my project building and configured to build every night via script interface (autoreconf; configure; make; ...), and have run into an issue with the "Publish JUnit test result report".  We're using cppUnit for testing, but have the xml file output.  Everything is building correctly, but I get "Test reports were found but none of them are new.  Did tests run?"  I tried removing the existing xml file, but still get the error.  Suggestions?

Scott


--- Let us all bask in television's warm glowing warming glow ---
Scott Brunza           860.326.3637         [hidden email]



Reply | Threaded
Open this post in threaded view
|

Re: test results

Kohsuke Kawaguchi
Administrator
Scott Brunza wrote:
> I have my project building and configured to build every night via  
> script interface (autoreconf; configure; make; ...), and have run  
> into an issue with the "Publish JUnit test result report".  We're  
> using cppUnit for testing, but have the xml file output.  Everything  
> is building correctly, but I get "Test reports were found but none of  
> them are new.  Did tests run?"  I tried removing the existing xml  
> file, but still get the error.  Suggestions?

Although this quetsion doesn't have a direct relevance to your issue, is
cppunit producing the XML format compatible with JUnit?

Most likely cause is that either you are using master/slave and clocks
are out of sync, or you are specifying the wrong XML files for Hudson to
look at.

I'll improve an error message so that it'll say "for example,
abc/def/ghi.xml has timestamp 4/21 9:48am but the build has started 4/21
9:50am" or something.


--
Kohsuke Kawaguchi
Sun Microsystems                   [hidden email]

smime.p7s (4K) Download Attachment