Skip to content

Commit

Permalink
Add Multi-Byte Character Set locale tests enhancement (adoptium#729)
Browse files Browse the repository at this point in the history
* Add Multi-Byte Character Set locale tests enhancement
* Move functional to functional-AdoptOpenJDK and change get.sh / .gitignore
* Add JAVA_BIN/ before java command
* Rename from functional-AdoptOpenJDK to functional
* Change level from extended to special on functional/MBCS_Tests
  • Loading branch information
takiguc authored and Shelley Lambert committed Dec 19, 2018
1 parent 7f436b0 commit 6ceb5c1
Show file tree
Hide file tree
Showing 509 changed files with 631,186 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ autoGen.mk

TestConfig
functional
!functional/MBCS_Tests
Utils
systemtest_prereqs/*
openjdk_regression/*.gz
Expand Down
71 changes: 71 additions & 0 deletions functional/MBCS_Tests/CLDR_11/build.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
<?xml version="1.0"?>
<!--
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<project name="MBCS_Tests/CLDR_11" default="build" basedir=".">
<taskdef resource="net/sf/antcontrib/antlib.xml" />
<description>
MBCS_Tests/CLDR_11
</description>
<import file="${TEST_ROOT}/functional/build.xml"/>

<!-- set global properties for this build -->
<property name="DEST" value="${BUILD_ROOT}/functional/MBCS_Tests/CLDR_11" />

<!--Properties for this particular build-->
<property name="src" location="./src" />
<property name="build" location="./bin" />

<target name="init">
<mkdir dir="${DEST}" />
<mkdir dir="${build}" />
</target>

<target name="compile" depends="init" description="Using ${JAVA_VERSION} java compile the source ">
<echo>Ant version is ${ant.version}</echo>
<echo>============COMPILER SETTINGS============</echo>
<echo>===fork: yes</echo>
<echo>===executable: ${compiler.javac}</echo>
<echo>===debug: on</echo>
<echo>===destdir: ${DEST}</echo>
<javac srcdir="${src}" destdir="${build}" debug="true" fork="true" executable="${compiler.javac}" includeAntRuntime="false" encoding="ISO-8859-1">
<src path="${src}" />
</javac>
</target>

<target name="dist" depends="compile,dist_functional" description="generate the distribution">
<jar jarfile="${DEST}/CLDR_11.jar" filesonly="true">
<fileset dir="${build}" />
<fileset dir="${src}" includes="*.properties" />
</jar>
<copy todir="${DEST}">
<fileset dir="${src}/../" includes="*.xml" />
<fileset dir="${src}/../" includes="*.mk" />
<fileset dir="${src}/../" includes="*.sh" />
<fileset dir="${src}/../" includes="*.pl" />
<fileset dir="${src}/../" includes="*.bat" />
</copy>
<copy todir="${DEST}/ext">
<fileset dir="ext/" includes="*.jar" />
</copy>
</target>

<target name="clean" depends="dist" description="clean up">
<!-- Delete the ${build} directory trees -->
<delete dir="${build}" />
</target>

<target name="build" >
<antcall target="clean" inheritall="true" />
</target>
</project>
Binary file added functional/MBCS_Tests/CLDR_11/ext/icu4j-61_1.jar
Binary file not shown.
Binary file not shown.
123 changes: 123 additions & 0 deletions functional/MBCS_Tests/CLDR_11/playlist.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,123 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<playlist xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../TestConfig/playlist.xsd">
<test>
<testCaseName>MBCS_Tests_CLDR_11_ja_JP_linux</testCaseName>
<command>LANG=ja_JP.UTF-8 bash $(TEST_RESROOT)$(D)test.sh; \
$(TEST_STATUS)</command>
<platformRequirements>os.linux</platformRequirements>
<levels>
<level>special</level>
</levels>
<groups>
<group>functional</group>
</groups>
<subsets>
<subset>11</subset>
</subsets>
</test>
<test>
<testCaseName>MBCS_Tests_CLDR_11_ko_KR_linux</testCaseName>
<command>LANG=ko_KR.UTF-8 bash $(TEST_RESROOT)$(D)test.sh; \
$(TEST_STATUS)</command>
<platformRequirements>os.linux</platformRequirements>
<levels>
<level>special</level>
</levels>
<groups>
<group>functional</group>
</groups>
<subsets>
<subset>11</subset>
</subsets>
</test>
<test>
<testCaseName>MBCS_Tests_CLDR_11_Ja_JP_aix</testCaseName>
<command>LANG=Ja_JP ksh $(TEST_RESROOT)$(D)test.sh; \
$(TEST_STATUS)</command>
<platformRequirements>os.aix</platformRequirements>
<levels>
<level>special</level>
</levels>
<groups>
<group>functional</group>
</groups>
<subsets>
<subset>11</subset>
</subsets>
</test>
<test>
<testCaseName>MBCS_Tests_CLDR_11_ja_JP_aix</testCaseName>
<command>LANG=ja_JP ksh $(TEST_RESROOT)$(D)test.sh; \
$(TEST_STATUS)</command>
<platformRequirements>os.aix</platformRequirements>
<levels>
<level>special</level>
</levels>
<groups>
<group>functional</group>
</groups>
<subsets>
<subset>11</subset>
</subsets>
<disabled>bugs.openjdk.java.net/browse/JDK-8212794</disabled>
</test>
<test>
<testCaseName>MBCS_Tests_CLDR_11_JA_JP_aix</testCaseName>
<command>LANG=JA_JP ksh $(TEST_RESROOT)$(D)test.sh; \
$(TEST_STATUS)</command>
<platformRequirements>os.aix</platformRequirements>
<levels>
<level>special</level>
</levels>
<groups>
<group>functional</group>
</groups>
<subsets>
<subset>11</subset>
</subsets>
</test>

<test>
<testCaseName>MBCS_Tests_CLDR_11_ko_KR_aix</testCaseName>
<command>LANG=ko_KR ksh $(TEST_RESROOT)$(D)test.sh; \
$(TEST_STATUS)</command>
<platformRequirements>os.aix</platformRequirements>
<levels>
<level>special</level>
</levels>
<groups>
<group>functional</group>
</groups>
<subsets>
<subset>11</subset>
</subsets>
</test>
<test>
<testCaseName>MBCS_Tests_CLDR_11_KO_KR_aix</testCaseName>
<command>LANG=KO_KR ksh $(TEST_RESROOT)$(D)test.sh; \
$(TEST_STATUS)</command>
<platformRequirements>os.aix</platformRequirements>
<levels>
<level>special</level>
</levels>
<groups>
<group>functional</group>
</groups>
<subsets>
<subset>11</subset>
</subsets>
</test>
</playlist>
Loading

0 comments on commit 6ceb5c1

Please sign in to comment.