Alexei Zakharov wrote:
All,
I am going to commit changes for HARMONY-2349 ([classlib][testing]
"detect crashes by the empty report files") now. However, I've
realized that in order to do this I need to introduce a new dependency
to our list of classlib dependencies - the ant-contrib package.
Why? For the <if>?
Personally I don't see any harm in this. It is quite nice package, we
can also use it for organizing iterative test runs for example.
Moreover, there is no need to force users to copy it to ANT_HOME/lib
or wherever since ant's taskdef target is capable to load JAR's
dynamically. BTW, DRLVM build has been using ant-contrib from the
beginning.
The DRLVM build isn't representative of where we want our builds to go :)
But I'd like to hear from others. Is ant-contrib ok with everyone?
Eh - if you have no other way, it's a useful feature, and we don't have
to add things to ant/lib, I'm +1.
And thanks for asking.
geir
Thanks,
2006/12/8, Vladimir Ivanov <[EMAIL PROTECTED]>:
The last CC notification for 'Linux SUSE 9 gcc debug: classlib over
ibmvm'
has failed status due to "There were test errors" but on the next line it
told "All Tests Passed".
Note, it happened due to test crash:
[Fatal Error] :-1:-1: Premature end of file.
The file
/export/viv/trunk/cc/projects/classlib/trunk/build/test_report/TEST-
org.apache.harmony.security.tests.java.security.IdentityScope2Test.xml is
not a valid XML document. It is possibly corrupted.
This crash change the build status to 'FAILED' but no report file were
generated so junit- reporter miss this crash.
Thanks, Vladimir
By the way, it is intermittent crash :(