This is the mail archive of the mauve-discuss@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]

misleading output "PASS: Error: ..."


Hallo!

During my work with tgolem I found many lines in the mauve output like
this:

PASS: gnu.testlet.java.lang.Byte.ByteTest: Error: test_Basics failed - 1 (number 1)

They are produced by such code:

                harness.check(!( Byte.MIN_VALUE != -128 ),
                        "Error: test_Basics failed - 1" );

Would you accept patches turning this into

                harness.check(!( Byte.MIN_VALUE != -128 ),
                        "test_Basics - 1" );

? (Only changing the string. Changing the double negation seems too
error prone for the many cases I found.)

BTW I already promised patches for a similar problem. Unfortunately I
had very little spare time recently. I hope this will get better now.

Cheers,
-Edwin


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