[jboss-dev-forums] [Design of JBoss internal QA (Test Suite)] - AS testsuite using wrong jvm to exectute tests?

emuckenhuber do-not-reply at jboss.com
Thu Feb 12 05:35:44 EST 2009


I noticed that when running tests in the AS testsuite the jvm used to run the junit tests seems to be wrong.

There is a property called ${junit.jvm} which is never set. The default value of this is just "java".
Although it should use the one specified in $JAVA_HOME instead the one found on the $PATH.

Basically i use jdk5 to compile and run AS and the tests. But it then executes the test itself
with openjdk 1.6. This leads to some annoying behavior - e.g. failing tests, because of a serialVersionUID change in a sun class.

Can someone fix that for all jdks and OSes? As i could just test that for my local installation :)

I mean i can workaround that for the moment setting ANT_OPTS="-Djunit.jvm=/path/to/my/jdk",
but i guess this could also affect the hudson runs at one point.

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4209423#4209423

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4209423



More information about the jboss-dev-forums mailing list