Skip to content

Commit 19a191b

Browse files
committed
Bundle mozilla test cases from CVS with rhino
1 parent 63620e7 commit 19a191b

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

testsrc/build.xml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<!--
44
Location of mozilla/js/tests directory
55
-->
6-
<property name="test.library.dir" location="../tests" />
6+
<property name="test.library.dir" location="${build.dir}/tests" />
77
<property name="test.jstests.jar" location="${test.library.dir}/src/jstests.jar" />
88

99
<!--
@@ -89,6 +89,8 @@
8989
<exclude name="**/*.java build.xml"/>
9090
</fileset>
9191
</copy>
92+
<gunzip src="testsrc/tests.tar.gz" dest="${build.dir}/tests.tar"/>
93+
<untar src="${build.dir}/tests.tar" dest="build"/>
9294
</target>
9395

9496
<target name="clean">
@@ -128,6 +130,10 @@
128130
<sysproperty key="mozilla.js.tests" value="${test.library.dir}" />
129131
<sysproperty key="mozilla.js.tests.timeout" value="${test.timeout}" />
130132
<sysproperty key="emma.coverage.out.file" value="${coverage.outfile}"/>
133+
<!-- mozilla test cases are locale dependent! -->
134+
<sysproperty key="user.language" value="en"/>
135+
<sysproperty key="user.country" value="US"/>
136+
<sysproperty key="user.timezone" value="America/Los_Angeles"/>
131137
<classpath>
132138
<pathelement location="${xbean.jar}"/>
133139
<pathelement location="${jsr173.jar}"/>

testsrc/tests.tar.gz

1.68 MB
Binary file not shown.

0 commit comments

Comments
 (0)