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

akostadinov do-not-reply at jboss.com
Thu Feb 12 10:39:07 EST 2009


"emuckenhuber" wrote : 
  |   | ant_exec_command="exec \"$JAVACMD\" $ANT_OPTS
  |   | -classpath \"$LOCALCLASSPATH\" -Dant.home=\"$ANT_HOME\" 
  |   | -Dant.library.dir=\"$ANT_LIB\" $ant_sys_opts org.apache.tools.ant.launch.Launcher $ANT_ARGS
  |   | -cp \"$CLASSPATH\" $ant_exec_args"
  |   | 
  | 
  | So you can add -Djunit.jvm= $JAVACMD - then you use the same jdk calling ant :)

That sounds like a better solution but I still see concerns about tests themselves forking by just executing "java". So I still prefer the check if PATH and JAVA_HOME match and fail otherwise.

Others might think differently though.

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

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



More information about the jboss-dev-forums mailing list