rustbuild: Fix tests
Use the same step names as the actual build.
This commit is contained in:
parent
7b04f7fa63
commit
0e0bac914c
@ -1217,20 +1217,20 @@ mod tests {
|
||||
name: "std".to_string(),
|
||||
deps: Vec::new(),
|
||||
path: cwd.join("src/std"),
|
||||
doc_step: "doc-std".to_string(),
|
||||
doc_step: "doc-crate-std".to_string(),
|
||||
build_step: "build-crate-std".to_string(),
|
||||
test_step: "test-std".to_string(),
|
||||
bench_step: "bench-std".to_string(),
|
||||
test_step: "test-crate-std".to_string(),
|
||||
bench_step: "bench-crate-std".to_string(),
|
||||
version: String::new(),
|
||||
});
|
||||
build.crates.insert("test".to_string(), ::Crate {
|
||||
name: "test".to_string(),
|
||||
deps: Vec::new(),
|
||||
path: cwd.join("src/test"),
|
||||
doc_step: "doc-test".to_string(),
|
||||
doc_step: "doc-crate-test".to_string(),
|
||||
build_step: "build-crate-test".to_string(),
|
||||
test_step: "test-test".to_string(),
|
||||
bench_step: "bench-test".to_string(),
|
||||
test_step: "test-crate-test".to_string(),
|
||||
bench_step: "bench-crate-test".to_string(),
|
||||
version: String::new(),
|
||||
});
|
||||
build.crates.insert("rustc-main".to_string(), ::Crate {
|
||||
@ -1238,10 +1238,10 @@ mod tests {
|
||||
deps: Vec::new(),
|
||||
version: String::new(),
|
||||
path: cwd.join("src/rustc-main"),
|
||||
doc_step: "doc-rustc-main".to_string(),
|
||||
doc_step: "doc-crate-rustc-main".to_string(),
|
||||
build_step: "build-crate-rustc-main".to_string(),
|
||||
test_step: "test-rustc-main".to_string(),
|
||||
bench_step: "bench-rustc-main".to_string(),
|
||||
test_step: "test-crate-rustc-main".to_string(),
|
||||
bench_step: "bench-crate-rustc-main".to_string(),
|
||||
});
|
||||
return build
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user