java: Enable assertions when doing 'make check'.
authorRichard W.M. Jones <rjones@redhat.com>
Wed, 2 Mar 2011 05:08:20 +0000 (05:08 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Wed, 2 Mar 2011 05:11:55 +0000 (05:11 +0000)
commitdb98ac041ec36c4e2ce322d336f5792fa8e6922d
tree7713d5e11fa6cf64ae573fb34a9c36b449a5ed40
parentf455dc3814bf9f7e7e894ba81360acb0edd92464
java: Enable assertions when doing 'make check'.

It turns out that Java assertions are disabled by default.  You have
to add the 'java -ea' flag to the JVM.  Who knew ..?

Because of this oversight, the tests weren't actually performing the
assertions that we wanted (although in fact none of the assertions
were failing).

This change enables assertions when running the tests.
java/run-java-tests