comparison make/build.xml @ 774:1a9a2d8bd800

8038615: test262 repo is now a git repo in github Reviewed-by: lagergren, hannesw
author sundar
date Fri, 28 Mar 2014 13:24:07 +0530
parents 3febf16a3039
children 093df4def9a7
comparison
equal deleted inserted replaced
41:37e7a787c15a 42:5987412fa5e0
39 <condition property="svn.executable" value="/usr/local/bin/svn" else="svn"> 39 <condition property="svn.executable" value="/usr/local/bin/svn" else="svn">
40 <available file="/usr/local/bin/svn"/> 40 <available file="/usr/local/bin/svn"/>
41 </condition> 41 </condition>
42 <condition property="hg.executable" value="/usr/local/bin/hg" else="hg"> 42 <condition property="hg.executable" value="/usr/local/bin/hg" else="hg">
43 <available file="/usr/local/bin/hg"/> 43 <available file="/usr/local/bin/hg"/>
44 </condition>
45 <condition property="git.executable" value="/usr/local/bin/git" else="git">
46 <available file="/usr/local/bin/git"/>
44 </condition> 47 </condition>
45 <!-- check if JDK already has ASM classes --> 48 <!-- check if JDK already has ASM classes -->
46 <available property="asm.available" classname="jdk.internal.org.objectweb.asm.Type"/> 49 <available property="asm.available" classname="jdk.internal.org.objectweb.asm.Type"/>
47 <!-- check if testng.jar is avaiable --> 50 <!-- check if testng.jar is avaiable -->
48 <available property="testng.available" file="${file.reference.testng.jar}"/> 51 <available property="testng.available" file="${file.reference.testng.jar}"/>
501 504
502 <!-- targets to get external script tests --> 505 <!-- targets to get external script tests -->
503 506
504 <!-- test262 test suite --> 507 <!-- test262 test suite -->
505 <target name="get-test262" depends="init" unless="${test-sys-prop.external.test262}"> 508 <target name="get-test262" depends="init" unless="${test-sys-prop.external.test262}">
506 <!-- clone test262 mercurial repo --> 509 <!-- clone test262 git repo -->
507 <exec executable="${hg.executable}"> 510 <exec executable="${git.executable}">
508 <arg value="clone"/> 511 <arg value="clone"/>
509 <arg value="http://hg.ecmascript.org/tests/test262"/> 512 <arg value="https://github.com/tc39/test262"/>
510 <arg value="${test.external.dir}/test262"/> 513 <arg value="${test.external.dir}/test262"/>
511 </exec> 514 </exec>
512 </target> 515 </target>
513 <target name="update-test262" depends="init" if="${test-sys-prop.external.test262}"> 516 <target name="update-test262" depends="init" if="${test-sys-prop.external.test262}">
514 <!-- update test262 mercurial repo --> 517 <!-- update test262 git repo -->
515 <exec executable="${hg.executable}" dir="${test.external.dir}/test262"> 518 <exec executable="${git.executable}" dir="${test.external.dir}/test262">
516 <arg value="pull"/> 519 <arg value="pull"/>
517 <arg value="-u"/>
518 </exec> 520 </exec>
519 </target> 521 </target>
520 522
521 <!-- octane benchmark --> 523 <!-- octane benchmark -->
522 <target name="get-octane" depends="init" unless="${test-sys-prop.external.octane}"> 524 <target name="get-octane" depends="init" unless="${test-sys-prop.external.octane}">