mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-08 06:53:45 +00:00
ICU-7027 Added a simple target 'runTest' just run a test case, without building ICU4J.
X-SVN-Rev: 27637
This commit is contained in:
parent
3a5280e3b0
commit
2338e1a289
1 changed files with 24 additions and 0 deletions
|
@ -157,6 +157,30 @@
|
|||
</java>
|
||||
</target>
|
||||
|
||||
<target name="runTest" 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}"/>
|
||||
|
||||
<java classname="com.ibm.icu.dev.test.TestAll" fork="yes" failonerror="true">
|
||||
<arg line="${testarg}"/>
|
||||
<jvmarg line="${jvm_options} -Djava.awt.headless=true"/>
|
||||
<classpath>
|
||||
<pathelement path="${icu4j.core.jar}"/>
|
||||
<pathelement path="${icu4j.collate.jar}"/>
|
||||
<pathelement path="${icu4j.charset.jar}"/>
|
||||
<pathelement path="${icu4j.currdata.jar}"/>
|
||||
<pathelement path="${icu4j.langdata.jar}"/>
|
||||
<pathelement path="${icu4j.regiondata.jar}"/>
|
||||
<pathelement path="${icu4j.translit.jar}"/>
|
||||
<pathelement path="${icu4j.test-framework.jar}"/>
|
||||
<pathelement path="${icu4j.core-tests.jar}"/>
|
||||
<pathelement path="${icu4j.collate-tests.jar}"/>
|
||||
<pathelement path="${icu4j.charset-tests.jar}"/>
|
||||
<pathelement path="${icu4j.translit-tests.jar}"/>
|
||||
</classpath>
|
||||
</java>
|
||||
</target>
|
||||
|
||||
<target name="packagingCheck" depends="info, core, packaging-tests" description="Run packaging tests">
|
||||
<!-- region data but no language data -->
|
||||
<java classname="com.ibm.icu.dev.test.TestPackaging" fork="yes" failonerror="true">
|
||||
|
|
Loading…
Add table
Reference in a new issue