Skip to content

Commit 799dd08

Browse files
committed
rename test-program-suite to test-programs-artifacts to reflect wasmtime
1 parent cf6a41b commit 799dd08

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@ wasi.workspace = true
2323
[dev-dependencies]
2424
anyhow.workspace = true
2525
serde_json.workspace = true
26-
test-program-suite.workspace = true
26+
test-programs-artifacts.workspace = true
2727
wasmtime.workspace = true
2828
wasmtime-wasi.workspace = true
2929
wasmtime-wasi-http.workspace = true
3030

3131
[workspace]
3232
members = [
3333
"test-programs",
34-
"test-programs/suite",
34+
"test-programs/artifacts",
3535
]
3636
resolver = "2"
3737

@@ -46,7 +46,7 @@ heck = "0.5"
4646
serde_json = "1"
4747
slab = "0.4.9"
4848
test-programs = { path = "test-programs" }
49-
test-program-suite = { path = "test-programs/suite" }
49+
test-programs-artifacts = { path = "test-programs/artifacts" }
5050
url = "2.5.0"
5151
wasi = "0.13.1"
5252
wstd = { path = "." }

test-programs/suite/Cargo.toml renamed to test-programs/artifacts/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[package]
2-
name = "test-program-suite"
2+
name = "test-programs-artifacts"
33
version = "0.1.0"
44
edition.workspace = true
55
license.workspace = true
File renamed without changes.
File renamed without changes.

tests/test-programs.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ fn tcp_echo_server() -> Result<()> {
8181
use std::thread::sleep;
8282
use std::time::Duration;
8383

84-
println!("testing {}", test_program_suite::TCP_ECHO_SERVER);
85-
let wasm = std::fs::read(test_program_suite::TCP_ECHO_SERVER).context("read wasm")?;
84+
println!("testing {}", test_programs_artifacts::TCP_ECHO_SERVER);
85+
let wasm = std::fs::read(test_programs_artifacts::TCP_ECHO_SERVER).context("read wasm")?;
8686

8787
let pipe = wasmtime_wasi::pipe::MemoryOutputPipe::new(1024 * 1024);
8888
let write_end = pipe.clone();
@@ -122,8 +122,8 @@ fn tcp_echo_server() -> Result<()> {
122122

123123
#[test]
124124
fn http_get() -> Result<()> {
125-
println!("testing {}", test_program_suite::HTTP_GET);
126-
let wasm = std::fs::read(test_program_suite::HTTP_GET).context("read wasm")?;
125+
println!("testing {}", test_programs_artifacts::HTTP_GET);
126+
let wasm = std::fs::read(test_programs_artifacts::HTTP_GET).context("read wasm")?;
127127

128128
run_in_wasmtime(&wasm, None)
129129
}

0 commit comments

Comments
 (0)