Skip to content

Commit 108f37a

Browse files
committed
difftest: move difftest bin to runner
1 parent 593c5ba commit 108f37a

File tree

7 files changed

+5
-4
lines changed

7 files changed

+5
-4
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ members = [
2727

2828
"tests/compiletests",
2929
"tests/compiletests/deps-helper",
30-
"tests/difftests/bin",
30+
"tests/difftests/runner",
3131
"tests/difftests/lib",
3232
]
3333

@@ -50,6 +50,7 @@ spirv-tools = { version = "0.12", default-features = false }
5050
rustc_codegen_spirv = { path = "./crates/rustc_codegen_spirv", version = "=0.9.0", default-features = false }
5151
rustc_codegen_spirv-types = { path = "./crates/rustc_codegen_spirv-types", version = "=0.9.0" }
5252
rustc_codegen_spirv-target-specs = { path = "crates/rustc_codegen_spirv-target-specs", version = "=0.9.0" }
53+
difftest-runner = { path = "tests/difftests/runner" }
5354
tracing = "0.1"
5455
tracing-subscriber = { version = "0.3.3", features = ["env-filter", "json"] }
5556

tests/difftests/bin/Cargo.toml renamed to tests/difftests/runner/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[package]
2-
name = "difftests"
2+
name = "difftest-runner"
33
version.workspace = true
44
authors.workspace = true
55
edition.workspace = true

tests/difftests/bin/src/main.rs renamed to tests/difftests/runner/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ mod differ;
1818
mod runner;
1919
mod testcase;
2020

21-
fn main() -> Result<()> {
21+
fn run() -> Result<()> {
2222
let subscriber = FmtSubscriber::builder()
2323
.with_env_filter(tracing_subscriber::EnvFilter::from_default_env())
2424
.finish();

0 commit comments

Comments
 (0)