8144051: failing test262parallel run leads to successful build
Reviewed-by: mhaupt, hannesw
--- a/nashorn/make/build.xml Thu Nov 26 12:01:41 2015 +0100
+++ b/nashorn/make/build.xml Thu Nov 26 19:02:59 2015 +0530
@@ -632,7 +632,7 @@
<target name="test262-parallel" depends="jar, check-testng, check-external-tests, compile-test, generate-policy-file" if="testng.available">
<!-- use just build.test.classes.dir to avoid referring to TestNG -->
- <java classname="${parallel.test.runner}" dir="${basedir}" fork="true">
+ <java classname="${parallel.test.runner}" dir="${basedir}" fork="true" failonerror="true">
<jvmarg line="${boot.class.path}"/>
<jvmarg line="${run.test.jvmargs} -Xmx${run.test.xmx} ${run.test.jvmsecurityargs} -Dbuild.dir=${build.dir}"/>
<!-- avoid too many typeinfo cache files. Each script is run only once anyway -->
--- a/nashorn/make/project.properties Thu Nov 26 12:01:41 2015 +0100
+++ b/nashorn/make/project.properties Thu Nov 26 19:02:59 2015 +0530
@@ -212,6 +212,12 @@
# file containing test262 tests to be excluded
# test262-test-sys-prop.test.js.excludes.file=${test262.dir}/test/config/excludelist.xml
+# list of test262 files to be excluded
+test262-test-sys-prop.test.js.exclude.list=\
+ ${test262.suite.dir}/ch07/7.4/S7.4_A6.js \
+ ${test262.suite.dir}/ch07/7.8/7.8.5/S7.8.5_A1.4_T2.js \
+ ${test262.suite.dir}/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-170.js
+
# list of test262 test dirs to be excluded
test262-test-sys-prop.test.js.exclude.dir=\
${test262.suite.dir}/intl402/ \