This is the mail archive of the mauve-patches@sourceware.org mailing list for the Mauve project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Output xml results for tests with compilation problems


Omair Majid wrote:
Hi,

When mauve fails to start a test which because of compilation problems,
no xml output is gnenerated:

$ java Harness -vm /usr/bin/java
gnu.java.security.hash.TestOfHashFactory -xmlout output.xml
FAIL: gnu.java.security.hash.TestOfHashFactory
    exception when loading:
     java.lang.Error: Unresolved compilation problems:
    The import gnu.java cannot be resolved
    The import gnu.java cannot be resolved
    IMessageDigest cannot be resolved to a type
    HashFactory cannot be resolved
    HashFactory cannot be resolved
[snip]

The xml output file contains no failures:
<?xml version='1.0' encoding='UTF-8'?>
<testreport version='0.1'>
    <jvm name='Sun Microsystems Inc.'
      version='14.0-b08'
      os='Linux 2.6.27.9-159.fc10.i686 i386' />
</testreport>

The attached patch fixes mauve so that a failure is reported in the xml
file.


Feel free to commit this.


Lillian



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]