Skip to content

Commit 9982823

Browse files
authored
Merge pull request #2697 from fermyon/versioned-conformance
Run v0.1.0 of the conformance tests
2 parents 68aa472 + 5fd3054 commit 9982823

File tree

7 files changed

+18
-11
lines changed

7 files changed

+18
-11
lines changed

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,8 @@ redis = "0.24"
9999
runtime-tests = { path = "tests/runtime-tests" }
100100
test-components = { path = "tests/test-components" }
101101
test-codegen-macro = { path = "crates/test-codegen-macro" }
102-
test-environment = { git = "https://github.com/fermyon/conformance-tests", rev = "d2129a3fd73140a76c77f15a030a5273b37cbd11" }
103-
conformance-tests = { git = "https://github.com/fermyon/conformance-tests", rev = "d2129a3fd73140a76c77f15a030a5273b37cbd11" }
102+
test-environment = { workspace = true }
103+
conformance-tests = { workspace = true }
104104
conformance = { path = "tests/conformance-tests" }
105105

106106
[build-dependencies]
@@ -135,6 +135,8 @@ http-body-util = "0.1.0"
135135
hyper = { version = "1.0.0", features = ["full"] }
136136
reqwest = { version = "0.12", features = ["stream", "blocking"] }
137137
tracing = { version = "0.1", features = ["log"] }
138+
conformance-tests = { git = "https://github.com/fermyon/conformance-tests", rev = "387b7f375df59e6254a7c29cf4a53507a9f46d32" }
139+
test-environment = { git = "https://github.com/fermyon/conformance-tests", rev = "387b7f375df59e6254a7c29cf4a53507a9f46d32" }
138140

139141
wasi-common-preview1 = { version = "22.0.0", package = "wasi-common", features = [
140142
"tokio",

tests/conformance-tests/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ rust-version.workspace = true
1111
[dependencies]
1212
anyhow = "1.0"
1313
testing-framework = { path = "../testing-framework" }
14-
conformance-tests = { git = "https://github.com/fermyon/conformance-tests", rev = "d2129a3fd73140a76c77f15a030a5273b37cbd11" }
15-
test-environment = { git = "https://github.com/fermyon/conformance-tests", rev = "d2129a3fd73140a76c77f15a030a5273b37cbd11" }
14+
conformance-tests = { workspace = true }
15+
test-environment = { workspace = true }
1616

1717
[lints]
1818
workspace = true

tests/conformance-tests/src/main.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,8 @@ fn main() {
33
.nth(1)
44
.expect("expected first argument to be path to spin binary")
55
.into();
6-
conformance_tests::run_tests(move |test| conformance::run_test(test, &spin_binary)).unwrap();
6+
conformance_tests::run_tests("v0.1.0", move |test| {
7+
conformance::run_test(test, &spin_binary)
8+
})
9+
.unwrap();
710
}

tests/runtime-tests/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ anyhow = "1.0"
1313
env_logger = "0.10.0"
1414
log = "0.4"
1515
testing-framework = { path = "../testing-framework" }
16-
test-environment = { git = "https://github.com/fermyon/conformance-tests", rev = "d2129a3fd73140a76c77f15a030a5273b37cbd11" }
16+
test-environment = { workspace = true }
1717
test-components = { path = "../test-components" }

tests/runtime.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,10 @@ mod runtime_tests {
2828

2929
#[test]
3030
fn conformance_tests() {
31-
conformance_tests::run_tests(move |test| conformance::run_test(test, &spin_binary()))
32-
.unwrap();
31+
conformance_tests::run_tests("v0.1.0", move |test| {
32+
conformance::run_test(test, &spin_binary())
33+
})
34+
.unwrap();
3335
}
3436

3537
fn spin_binary() -> PathBuf {

tests/testing-framework/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ nix = "0.26.1"
1313
regex = "1.10.2"
1414
reqwest = { workspace = true }
1515
temp-dir = "0.1.11"
16-
test-environment = { git = "https://github.com/fermyon/conformance-tests", rev = "d2129a3fd73140a76c77f15a030a5273b37cbd11" }
16+
test-environment = { workspace = true }
1717
spin-trigger-http = { path = "../../crates/trigger-http" }
1818
spin-http = { path = "../../crates/http" }
1919
spin-trigger = { path = "../../crates/trigger" }

0 commit comments

Comments
 (0)