From 0a8095d53ab53a4eaea8c862f49b4bc20b04aa8e Mon Sep 17 00:00:00 2001 From: Athijegannathan Sundararajan Date: Fri, 28 Mar 2014 13:24:07 +0530 Subject: [PATCH] 8038615: test262 repo is now a git repo in github Reviewed-by: lagergren, hannesw --- nashorn/README | 9 +++++++-- nashorn/make/build.xml | 14 ++++++++------ 2 files changed, 15 insertions(+), 8 deletions(-) diff --git a/nashorn/README b/nashorn/README index 52b30919065..242d6077b67 100644 --- a/nashorn/README +++ b/nashorn/README @@ -81,13 +81,13 @@ TestNG library and placing its jar file into the lib subdirectory: After that, you can run the tests using: cd make - ant test + ant clean test You can also run the ECMA-262 test suite with Nashorn. In order to do that, you will need to get a copy of it and put it in test/script/external/test262 directory. A convenient way to do it is: - hg clone http://hg.ecmascript.org/tests/test262/ test/script/external/test262 + git clone https://github.com/tc39/test262 test/script/external/test262 Alternatively, you can check it out elsewhere and make test/script/external/test262 a symbolic link to that directory. After @@ -95,6 +95,11 @@ you've done this, you can run the ECMA-262 tests using: cd nashorn~jdk8/nashorn/make ant test262 + +Ant target to get/update external test suites: + + ant externals + ant update-externals These tests take time, so we have a parallelized runner for them that takes advantage of all processor cores on the computer: diff --git a/nashorn/make/build.xml b/nashorn/make/build.xml index 74eae86a588..3c1954a2afd 100644 --- a/nashorn/make/build.xml +++ b/nashorn/make/build.xml @@ -42,6 +42,9 @@ + + + @@ -503,18 +506,17 @@ grant codeBase "file:/${basedir}/test/script/markdown.js" { - - + + - + - - + + -