ICU-8903 Default testarg in 'runTest' target.

X-SVN-Rev: 30939
This commit is contained in:
Yoshito Umaoka 2011-11-07 21:32:23 +00:00
parent 6dfa3a52d0
commit 3b3d0e7b9b

View file

@ -173,7 +173,16 @@
</java>
</target>
<target name="runTest" description="Run a ICU4J test case, without calling any other build targets">
<target name="_runTestArgCheck" unless="testarg">
<echo message="No test arguments are supplied. Using the default argument '-n'."/>
<echo message="For specifying test arguments, use '-Dtestarg=[test args]' as"/>
<echo message="ant command line argument. For example:"/>
<echo message=" &#x3E;ant runTest -Dtestarg=&#x22;Core/Format -e10&#x22;"/>
<echo message="for running ICU4J core format test suite in exhaustive mode."/>
<property name="testarg" value="-n"/>
</target>
<target name="runTest" depends="_runTestArgCheck" description="Run a ICU4J test case, without calling any other build targets">
<echo message="JVM argument: ${jvm_options} -Djava.awt.headless=true"/>
<echo message="Test argument: ${testarg}"/>