mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-13 08:53:20 +00:00
ICU-8903 Default testarg in 'runTest' target.
X-SVN-Rev: 30939
This commit is contained in:
parent
6dfa3a52d0
commit
3b3d0e7b9b
1 changed files with 10 additions and 1 deletions
|
@ -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=" >ant runTest -Dtestarg="Core/Format -e10""/>
|
||||
<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}"/>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue