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>
Tue, 8 Mar 2011 14:56:41 +0000 (14:56 +0000)
commit18477ae349c4e650f10f78db58bec8060e32d6fc
tree33d0c5fae4e83ec39e06ef645db1fb5f87fdd377
parent2b2651a6907e1d7c56b7839594fb6ab8ec5ffd89
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.
(cherry picked from commit db98ac041ec36c4e2ce322d336f5792fa8e6922d)
java/run-java-tests