File tree Expand file tree Collapse file tree 5 files changed +8
-8
lines changed Expand file tree Collapse file tree 5 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -23,15 +23,15 @@ wasi.workspace = true
23
23
[dev-dependencies ]
24
24
anyhow.workspace = true
25
25
serde_json.workspace = true
26
- test-program-suite .workspace = true
26
+ test-programs-artifacts .workspace = true
27
27
wasmtime.workspace = true
28
28
wasmtime-wasi.workspace = true
29
29
wasmtime-wasi-http.workspace = true
30
30
31
31
[workspace ]
32
32
members = [
33
33
" test-programs" ,
34
- " test-programs/suite " ,
34
+ " test-programs/artifacts " ,
35
35
]
36
36
resolver = " 2"
37
37
@@ -46,7 +46,7 @@ heck = "0.5"
46
46
serde_json = " 1"
47
47
slab = " 0.4.9"
48
48
test-programs = { path = " test-programs" }
49
- test-program-suite = { path = " test-programs/suite " }
49
+ test-programs-artifacts = { path = " test-programs/artifacts " }
50
50
url = " 2.5.0"
51
51
wasi = " 0.13.1"
52
52
wstd = { path = " ." }
Original file line number Diff line number Diff line change 1
1
[package ]
2
- name = " test-program-suite "
2
+ name = " test-programs-artifacts "
3
3
version = " 0.1.0"
4
4
edition.workspace = true
5
5
license.workspace = true
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change @@ -81,8 +81,8 @@ fn tcp_echo_server() -> Result<()> {
81
81
use std:: thread:: sleep;
82
82
use std:: time:: Duration ;
83
83
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" ) ?;
86
86
87
87
let pipe = wasmtime_wasi:: pipe:: MemoryOutputPipe :: new ( 1024 * 1024 ) ;
88
88
let write_end = pipe. clone ( ) ;
@@ -122,8 +122,8 @@ fn tcp_echo_server() -> Result<()> {
122
122
123
123
#[ test]
124
124
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" ) ?;
127
127
128
128
run_in_wasmtime ( & wasm, None )
129
129
}
You can’t perform that action at this time.
0 commit comments