Build.xml in testsuite directory doesn't support multiple JVM argument
----------------------------------------------------------------------
Key: JBBUILD-324
URL:
http://jira.jboss.com/jira/browse/JBBUILD-324
Project: JBoss Build System
Issue Type: Feature Request
Components: Targets and Tasks
Affects Versions: Repository Build head, Repsository Build Branch_4_0
Environment: Any
Reporter: Sunny Chan
Priority: Minor
We are using the JBoss unit test as part of our JVM verification testsuite. We wanted to
be able to invoke tests with multiple JVM options, but it didn't work. If you set
parameters via build.sh -Djunit.vm.options with multiple paramters (e.g.
-Djunit.vm.options="-d64 -verbose:gc"), it will fail with unrecongized option
error.
The problem is that in testsuite/build.xml, the junit.vm.options is passed onto junit ant
task via <jvmarg value> tag rather then <jvmarg line> tag. The jvmarg line
allows multiple JVM options exist in one line. Once I replace all instance of <jvmarg
value="${junit.jvm.options}"/> with <jvmarg
line="${junit.jvm.options}"/> then the problem goes away.
I can provide a patch for this if you want - but I don't know the rules on patches
(whether I need to be cleared for contribution) so let me know if you want that.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira