Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_nashorn
提交
1c78a9a3
D
dragonwell8_nashorn
项目概览
openanolis
/
dragonwell8_nashorn
通知
1
Star
2
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
dragonwell8_nashorn
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
1c78a9a3
编写于
3月 28, 2014
作者:
S
sundar
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
8038615: test262 repo is now a git repo in github
Reviewed-by: lagergren, hannesw
上级
0ce58f48
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
15 addition
and
8 deletion
+15
-8
README
README
+7
-2
make/build.xml
make/build.xml
+8
-6
未找到文件。
README
浏览文件 @
1c78a9a3
...
...
@@ -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:
...
...
make/build.xml
浏览文件 @
1c78a9a3
...
...
@@ -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=
"http
s://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>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录