Skip to content

Commit 7abb899

Browse files
committed
Fix for StringRegressionTest.testBug11614() failures when running with wrong default file.encoding.
Change-Id: Ifc6c3c1679717f16ce7ee7cf9569bd832f765c87
1 parent c12e066 commit 7abb899

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

build.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1307,6 +1307,7 @@ See also com.mysql.cj.conf.PropertyDefinitions.SYSP_* variables for other test o
13071307
methods="${com.mysql.cj.testsuite.test.methods}"
13081308
outputdir="${com.mysql.cj.testsuite.junit.results}">
13091309
<fork>
1310+
<jvmarg value="-Dfile.encoding=UTF-8" />
13101311
<jvmarg value="-Xmx1024m" />
13111312
<jvmarg value="${com.mysql.cj.testsuite.test.coverage.jvmargfinal}" />
13121313
<syspropertyset refid="junit.system.properties" />
@@ -1321,6 +1322,7 @@ See also com.mysql.cj.conf.PropertyDefinitions.SYSP_* variables for other test o
13211322
name="${com.mysql.cj.testsuite.test.class}"
13221323
outputdir="${com.mysql.cj.testsuite.junit.results}">
13231324
<fork>
1325+
<jvmarg value="-Dfile.encoding=UTF-8" />
13241326
<jvmarg value="-Xmx1024m" />
13251327
<jvmarg value="${com.mysql.cj.testsuite.test.coverage.jvmargfinal}" />
13261328
<syspropertyset refid="junit.system.properties" />
@@ -1336,6 +1338,7 @@ See also com.mysql.cj.conf.PropertyDefinitions.SYSP_* variables for other test o
13361338
<exclude name="**/perf/*.class" />
13371339
</fileset>
13381340
<fork>
1341+
<jvmarg value="-Dfile.encoding=UTF-8" />
13391342
<jvmarg value="-Xmx1024m" />
13401343
<jvmarg value="${com.mysql.cj.testsuite.test.coverage.jvmargfinal}" />
13411344
<syspropertyset refid="junit.system.properties" />

0 commit comments

Comments
 (0)