Skip to content

Commit eb7645e

Browse files
committed
difftest: move difftest bin to runner
1 parent 546b586 commit eb7645e

File tree

7 files changed

+5
-5
lines changed

7 files changed

+5
-5
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 & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ members = [
2828

2929
"tests/compiletests",
3030
"tests/compiletests/deps-helper",
31-
"tests/difftests/bin",
31+
"tests/difftests/runner",
3232
"tests/difftests/lib",
3333
]
3434

@@ -53,7 +53,7 @@ rustc_codegen_spirv-types = { path = "./crates/rustc_codegen_spirv-types", versi
5353
rustc_codegen_spirv-target-specs = { path = "crates/rustc_codegen_spirv-target-specs", version = "=0.9.0" }
5454

5555
# difftest libraries mirrored from difftest workspace
56-
difftest = { path = "tests/difftests/lib" }
56+
difftest-runner = { path = "tests/difftests/runner" }
5757

5858
# External dependencies that need to be mentioned more than once.
5959
tracing = "0.1"

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
File renamed without changes.

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();
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)