Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
int
Rust
提交
07732545
R
Rust
项目概览
int
/
Rust
大约 1 年 前同步成功
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
Rust
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
07732545
编写于
7月 20, 2011
作者:
B
Brian Anderson
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Add xfail-stage3 directives to tests
The new test runners run stage 3
上级
6fc33163
变更
36
隐藏空白更改
内联
并排
Showing
36 changed file
with
38 addition
and
0 deletion
+38
-0
src/test/compile-fail/anon-obj-overloading-wrong-type.rs
src/test/compile-fail/anon-obj-overloading-wrong-type.rs
+1
-0
src/test/compile-fail/bad-main.rs
src/test/compile-fail/bad-main.rs
+1
-0
src/test/compile-fail/bad-type-env-capture.rs
src/test/compile-fail/bad-type-env-capture.rs
+1
-0
src/test/compile-fail/bind-alias.rs
src/test/compile-fail/bind-alias.rs
+1
-0
src/test/compile-fail/constrained-type-missing-check.rs
src/test/compile-fail/constrained-type-missing-check.rs
+1
-0
src/test/compile-fail/dead-code-be.rs
src/test/compile-fail/dead-code-be.rs
+1
-0
src/test/compile-fail/dead-code-ret.rs
src/test/compile-fail/dead-code-ret.rs
+1
-0
src/test/compile-fail/infinite-tag-type-recursion.rs
src/test/compile-fail/infinite-tag-type-recursion.rs
+1
-0
src/test/compile-fail/put-in-fn.rs
src/test/compile-fail/put-in-fn.rs
+1
-0
src/test/run-fail/task-comm-14.rs
src/test/run-fail/task-comm-14.rs
+1
-0
src/test/run-fail/trivial-message2.rs
src/test/run-fail/trivial-message2.rs
+1
-0
src/test/run-pass/acyclic-unwind.rs
src/test/run-pass/acyclic-unwind.rs
+1
-0
src/test/run-pass/alt-type-simple.rs
src/test/run-pass/alt-type-simple.rs
+1
-0
src/test/run-pass/anon-obj-backwarding.rs
src/test/run-pass/anon-obj-backwarding.rs
+1
-0
src/test/run-pass/anon-objs-with-fields.rs
src/test/run-pass/anon-objs-with-fields.rs
+1
-0
src/test/run-pass/clone-with-exterior.rs
src/test/run-pass/clone-with-exterior.rs
+1
-0
src/test/run-pass/destructor-ordering.rs
src/test/run-pass/destructor-ordering.rs
+1
-0
src/test/run-pass/issue-718.rs
src/test/run-pass/issue-718.rs
+1
-0
src/test/run-pass/many.rs
src/test/run-pass/many.rs
+1
-0
src/test/run-pass/mlist-cycle.rs
src/test/run-pass/mlist-cycle.rs
+1
-0
src/test/run-pass/native-mod.rc
src/test/run-pass/native-mod.rc
+1
-0
src/test/run-pass/native.rc
src/test/run-pass/native.rc
+1
-0
src/test/run-pass/obj-as.rs
src/test/run-pass/obj-as.rs
+1
-0
src/test/run-pass/obj-dtor.rs
src/test/run-pass/obj-dtor.rs
+1
-0
src/test/run-pass/preempt.rs
src/test/run-pass/preempt.rs
+1
-0
src/test/run-pass/spawn-fn.rs
src/test/run-pass/spawn-fn.rs
+1
-0
src/test/run-pass/spawn-module-qualified.rs
src/test/run-pass/spawn-module-qualified.rs
+1
-0
src/test/run-pass/syntax-extension-shell.rs
src/test/run-pass/syntax-extension-shell.rs
+1
-0
src/test/run-pass/task-comm-11.rs
src/test/run-pass/task-comm-11.rs
+1
-0
src/test/run-pass/task-compare.rs
src/test/run-pass/task-compare.rs
+1
-0
src/test/run-pass/task-killjoin.rs
src/test/run-pass/task-killjoin.rs
+2
-0
src/test/run-pass/threads.rs
src/test/run-pass/threads.rs
+2
-0
src/test/run-pass/type-sizes.rs
src/test/run-pass/type-sizes.rs
+1
-0
src/test/run-pass/use.rs
src/test/run-pass/use.rs
+1
-0
src/test/run-pass/user.rs
src/test/run-pass/user.rs
+1
-0
src/test/run-pass/vec-slice.rs
src/test/run-pass/vec-slice.rs
+1
-0
未找到文件。
src/test/compile-fail/anon-obj-overloading-wrong-type.rs
浏览文件 @
07732545
//xfail-stage0
//xfail-stage1
//xfail-stage2
//xfail-stage3
use
std
;
fn
main
()
{
...
...
src/test/compile-fail/bad-main.rs
浏览文件 @
07732545
// xfail-stage0
// xfail-stage1
// xfail-stage2
// xfail-stage3
// error-pattern: bad type signature
fn
main
(
int
x
)
{
...
...
src/test/compile-fail/bad-type-env-capture.rs
浏览文件 @
07732545
// xfail-stage0
// xfail-stage1
// xfail-stage2
// xfail-stage3
// error-pattern: attempted dynamic environment-capture
fn
foo
[
T
]()
{
obj
bar
(
T
b
)
{}
}
fn
main
()
{}
\ No newline at end of file
src/test/compile-fail/bind-alias.rs
浏览文件 @
07732545
// xfail-stage0
// xfail-stage1
// xfail-stage2
// xfail-stage3
// error-pattern: binding alias slot
fn
f
(
&
int
x
)
{}
...
...
src/test/compile-fail/constrained-type-missing-check.rs
浏览文件 @
07732545
...
...
@@ -2,6 +2,7 @@
// xfail-stage0
// xfail-stage1
// xfail-stage2
// xfail-stage3
// error-pattern:Unsatisfied precondition
tag
list
{
...
...
src/test/compile-fail/dead-code-be.rs
浏览文件 @
07732545
// xfail-stage0
// xfail-stage1
// xfail-stage2
// xfail-stage3
// -*- rust -*-
// error-pattern: dead
...
...
src/test/compile-fail/dead-code-ret.rs
浏览文件 @
07732545
// xfail-stage0
// xfail-stage1
// xfail-stage2
// xfail-stage3
// -*- rust -*-
// error-pattern: dead
...
...
src/test/compile-fail/infinite-tag-type-recursion.rs
浏览文件 @
07732545
// xfail-stage0
// xfail-stage1
// xfail-stage2
// xfail-stage3
// -*- rust -*-
// error-pattern: tag of infinite size
...
...
src/test/compile-fail/put-in-fn.rs
浏览文件 @
07732545
// xfail-stage0
// xfail-stage1
// xfail-stage2
// xfail-stage3
// error-pattern: iterator function
fn
f
()
->
int
{
...
...
src/test/run-fail/task-comm-14.rs
浏览文件 @
07732545
// xfail-stage0
// xfail-stage1
// xfail-stage2
// xfail-stage3
io
fn
main
()
{
let
port
[
int
]
po
=
port
();
...
...
src/test/run-fail/trivial-message2.rs
浏览文件 @
07732545
...
...
@@ -4,6 +4,7 @@
// xfail-stage0
// xfail-stage1
// xfail-stage2
// xfail-stage3
/*
This program should hang on the po |> r line.
...
...
src/test/run-pass/acyclic-unwind.rs
浏览文件 @
07732545
// xfail-stage0
// xfail-stage1
// xfail-stage2
// xfail-stage3
// -*- rust -*-
fn
f
(
chan
[
int
]
c
)
...
...
src/test/run-pass/alt-type-simple.rs
浏览文件 @
07732545
// xfail-stage0
// xfail-stage1
// xfail-stage2
// xfail-stage3
fn
altsimple
(
any
x
)
{
alt
type
(
f
)
{
case
(
int
i
)
{
print
(
"int"
);
}
...
...
src/test/run-pass/anon-obj-backwarding.rs
浏览文件 @
07732545
//xfail-stage0
//xfail-stage1
//xfail-stage2
//xfail-stage3
use
std
;
fn
main
()
{
...
...
src/test/run-pass/anon-objs-with-fields.rs
浏览文件 @
07732545
//xfail-stage0
//xfail-stage1
//xfail-stage2
//xfail-stage3
use
std
;
fn
main
()
{
...
...
src/test/run-pass/clone-with-exterior.rs
浏览文件 @
07732545
// xfail-stage0
// xfail-stage1
// xfail-stage2
// xfail-stage3
fn
f
(
@
rec
(
int
a
,
int
b
)
x
)
{
assert
(
x
.a
==
10
);
assert
(
x
.b
==
12
);
...
...
src/test/run-pass/destructor-ordering.rs
浏览文件 @
07732545
// xfail-stage0
// xfail-stage1
// xfail-stage2
// xfail-stage3
// This test checks that destructors run in the right order. Because
// stateful objects can't have destructors, we have the destructors
// record their expected order into a channel when they execute (so
...
...
src/test/run-pass/issue-718.rs
浏览文件 @
07732545
//xfail-stage0
//xfail-stage1
//xfail-stage2
//xfail-stage3
fn
main
()
{
...
...
src/test/run-pass/many.rs
浏览文件 @
07732545
// xfail-stage0
// xfail-stage1
// xfail-stage2
// xfail-stage3
// -*- rust -*-
fn
sub
(
chan
[
int
]
parent
,
int
id
)
{
...
...
src/test/run-pass/mlist-cycle.rs
浏览文件 @
07732545
...
...
@@ -3,6 +3,7 @@
// xfail-stage0
// xfail-stage1
// xfail-stage2
// xfail-stage3
// -*- rust -*-
use
std
;
...
...
src/test/run-pass/native-mod.rc
浏览文件 @
07732545
// xfail-stage0
// xfail-stage1
// xfail-stage2
// xfail-stage3
// -*- rust -*-
native
mod
libc
=
target_libc
{
...
...
src/test/run-pass/native.rc
浏览文件 @
07732545
// xfail-stage0
// xfail-stage1
// xfail-stage2
// xfail-stage3
// -*- rust -*-
native
"rust"
mod
rustrt
{
...
...
src/test/run-pass/obj-as.rs
浏览文件 @
07732545
...
...
@@ -4,6 +4,7 @@
// xfail-stage0
// xfail-stage1
// xfail-stage2
// xfail-stage3
obj
big
()
{
fn
one
()
->
int
{
ret
1
;
}
fn
two
()
->
int
{
ret
2
;
}
...
...
src/test/run-pass/obj-dtor.rs
浏览文件 @
07732545
...
...
@@ -4,6 +4,7 @@
// xfail-stage0
// xfail-stage1
// xfail-stage2
// xfail-stage3
obj
worker
(
chan
[
int
]
c
)
{
drop
{
log
"in dtor"
;
c
<
|
10
;
}
}
fn
do_work
(
chan
[
int
]
c
)
{
...
...
src/test/run-pass/preempt.rs
浏览文件 @
07732545
// xfail-stage0
// xfail-stage1
// xfail-stage2
// xfail-stage3
// This checks that preemption works.
fn
starve_main
(
chan
[
int
]
alive
)
{
...
...
src/test/run-pass/spawn-fn.rs
浏览文件 @
07732545
// xfail-stage0
// xfail-stage1
// xfail-stage2
// xfail-stage3
// -*- rust -*-
fn
x
(
str
s
,
int
n
)
{
...
...
src/test/run-pass/spawn-module-qualified.rs
浏览文件 @
07732545
// xfail-stage0
// xfail-stage1
// xfail-stage2
// xfail-stage3
fn
main
()
{
auto
x
=
spawn
m
::
child
(
10
);
join
x
;
...
...
src/test/run-pass/syntax-extension-shell.rs
浏览文件 @
07732545
// xfail-stage0
// xfail-stage1
// xfail-stage2
// xfail-stage3
fn
main
()
{
auto
s
=
#
shell
{
uname
-
a
};
log
s
;
...
...
src/test/run-pass/task-comm-11.rs
浏览文件 @
07732545
// xfail-stage0
// xfail-stage1
// xfail-stage2
// xfail-stage3
fn
start
(
chan
[
chan
[
str
]]
c
)
{
let
port
[
str
]
p
=
port
();
...
...
src/test/run-pass/task-compare.rs
浏览文件 @
07732545
// xfail-stage0
// xfail-stage1
// xfail-stage2
// xfail-stage3
/**
A test case for issue #577, which also exposes #588
...
...
src/test/run-pass/task-killjoin.rs
浏览文件 @
07732545
// xfail-stage0
// xfail-stage1
// xfail-stage2
// xfail-stage3
// Create a task that is supervised by another task,
// join the supervised task from the supervising task,
// then fail the supervised task. The supervised task
...
...
src/test/run-pass/threads.rs
浏览文件 @
07732545
// xfail-stage0
// xfail-stage1
// xfail-stage2
// xfail-stage3
// -*- rust -*-
fn
main
()
{
...
...
src/test/run-pass/type-sizes.rs
浏览文件 @
07732545
...
...
@@ -3,6 +3,7 @@
// xfail-stage0
// xfail-stage1
// xfail-stage2
// xfail-stage3
import
std
::
sys
::
rustrt
::
size_of
;
use
std
;
...
...
src/test/run-pass/use.rs
浏览文件 @
07732545
...
...
@@ -3,6 +3,7 @@
// xfail-stage0
// xfail-stage1
// xfail-stage2
// xfail-stage3
use
std
;
use
libc
;
use
zed
(
name
=
"std"
);
...
...
src/test/run-pass/user.rs
浏览文件 @
07732545
// xfail-stage0
// xfail-stage1
// xfail-stage2
// xfail-stage3
// -*- rust -*-
use
std
(
name
=
"std"
,
...
...
src/test/run-pass/vec-slice.rs
浏览文件 @
07732545
// xfail-stage0
// xfail-stage1
// xfail-stage2
// xfail-stage3
fn
main
()
{
let
vec
[
int
]
v
=
[
1
,
2
,
3
,
4
,
5
];
auto
v2
=
v
.
(
1
,
2
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录