[jboss-dev-forums] [Design of JBoss internal QA (Test Suite)] - Re: AS testsuite using wrong jvm to exectute tests?
emuckenhuber
do-not-reply at jboss.com
Thu Feb 12 11:05:55 EST 2009
"akostadinov" wrote :
| That sounds like a better solution but I still see concerns about tests themselves forking by just executing "java".
|
Well that's why it should be based on the junit.jvm property - as it has the default value "java".
If it's not set it would fallback to the one on the PATH. And just execution "java" seems wrong to me.
"akostadinov" wrote :
| So I still prefer the check if PATH and JAVA_HOME match and fail otherwise.
|
Well this basically breaks the main benefit for me using JAVA_HOME - so that i can easily switch jdks for testing.
Requiring that jdk5 is the first java entry in my PATH would make some other java based apps unusable requiring jdk6.
For example the eclipse which comes bundled fedora - not sure about the java plugin for firefox...
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4209602#4209602
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4209602
More information about the jboss-dev-forums
mailing list