Skip to content

Commit 386f2a9

Browse files
committed
minicrater: test the blacklist
1 parent 87b06ee commit 386f2a9

File tree

3 files changed

+76
-0
lines changed

3 files changed

+76
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
[server]
2+
bot-acl = [
3+
"pietroalbini",
4+
]
5+
6+
[server.labels]
7+
remove = "^S-"
8+
experiment-queued = "S-waiting-on-crater"
9+
experiment-completed = "S-waiting-on-review"
10+
11+
[demo-crates]
12+
crates = []
13+
github-repos = []
14+
local-crates = ["build-pass", "build-fail", "test-fail"]
15+
16+
[sandbox]
17+
memory-limit = "512M"
18+
build-log-max-size = "2M"
19+
build-log-max-lines = 1000
20+
21+
[crates]
22+
23+
[github-repos]
24+
25+
[local-crates]
26+
build-fail = { skip = true }
27+
test-fail = { skip-tests = true }
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
"crates": [
3+
{
4+
"name": "build-pass (local)",
5+
"res": "test-pass",
6+
"runs": [
7+
{
8+
"log": "stable/local/build-pass",
9+
"res": "test-pass"
10+
},
11+
{
12+
"log": "beta/local/build-pass",
13+
"res": "test-pass"
14+
}
15+
],
16+
"url": "https://github.com/rust-lang-nursery/crater/tree/master/local-crates/build-pass"
17+
},
18+
{
19+
"name": "test-fail (local)",
20+
"res": "test-skipped",
21+
"runs": [
22+
{
23+
"log": "stable/local/test-fail",
24+
"res": "test-skipped"
25+
},
26+
{
27+
"log": "beta/local/test-fail",
28+
"res": "test-skipped"
29+
}
30+
],
31+
"url": "https://github.com/rust-lang-nursery/crater/tree/master/local-crates/test-fail"
32+
},
33+
{
34+
"name": "build-fail (local)",
35+
"res": "skipped",
36+
"runs": [
37+
null,
38+
null
39+
],
40+
"url": "https://github.com/rust-lang-nursery/crater/tree/master/local-crates/build-fail"
41+
}
42+
]
43+
}

tests/minicrater/mod.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,12 @@ fn single_thread_full() {
129129
execute("full", "local", false);
130130
}
131131

132+
#[ignore]
133+
#[test]
134+
fn single_thread_blacklist() {
135+
execute("blacklist", "demo", false);
136+
}
137+
132138
#[ignore]
133139
#[test]
134140
fn multi_thread_full() {

0 commit comments

Comments
 (0)