aboutsummaryrefslogtreecommitdiff
path: root/make
diff options
context:
space:
mode:
authorsundar <none@none>2014-03-28 13:24:07 +0530
committersundar <none@none>2014-03-28 13:24:07 +0530
commitd8d66bd38be9b2be96837047d1f78ca9416db1d9 (patch)
tree641b59f0fbeaa846d110b23683052d0eb61bf99f /make
parent75ef81b44ff36b9daca924d374a13e3803328758 (diff)
downloadnashorn-d8d66bd38be9b2be96837047d1f78ca9416db1d9.tar.gz
8038615: test262 repo is now a git repo in github
Reviewed-by: lagergren, hannesw
Diffstat (limited to 'make')
-rw-r--r--make/build.xml14
1 files changed, 8 insertions, 6 deletions
diff --git a/make/build.xml b/make/build.xml
index 7aa24725..4d23f228 100644
--- a/make/build.xml
+++ b/make/build.xml
@@ -42,6 +42,9 @@
<condition property="hg.executable" value="/usr/local/bin/hg" else="hg">
<available file="/usr/local/bin/hg"/>
</condition>
+ <condition property="git.executable" value="/usr/local/bin/git" else="git">
+ <available file="/usr/local/bin/git"/>
+ </condition>
<!-- check if JDK already has ASM classes -->
<available property="asm.available" classname="jdk.internal.org.objectweb.asm.Type"/>
<!-- check if testng.jar is avaiable -->
@@ -470,18 +473,17 @@ grant codeBase "file:/${basedir}/test/script/basic/classloader.js" {
<!-- test262 test suite -->
<target name="get-test262" depends="init" unless="${test-sys-prop.external.test262}">
- <!-- clone test262 mercurial repo -->
- <exec executable="${hg.executable}">
+ <!-- clone test262 git repo -->
+ <exec executable="${git.executable}">
<arg value="clone"/>
- <arg value="http://hg.ecmascript.org/tests/test262"/>
+ <arg value="https://github.com/tc39/test262"/>
<arg value="${test.external.dir}/test262"/>
</exec>
</target>
<target name="update-test262" depends="init" if="${test-sys-prop.external.test262}">
- <!-- update test262 mercurial repo -->
- <exec executable="${hg.executable}" dir="${test.external.dir}/test262">
+ <!-- update test262 git repo -->
+ <exec executable="${git.executable}" dir="${test.external.dir}/test262">
<arg value="pull"/>
- <arg value="-u"/>
</exec>
</target>