Skip to content

Commit 14ea47a

Browse files
committed
Update the witx tests for modularization.
1 parent 1510c1f commit 14ea47a

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

tools/witx/tests/wasi.rs

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,19 @@ fn validate_wasi_snapshot() {
88

99
#[test]
1010
fn validate_wasi_ephemeral() {
11-
witx::load(&["../../phases/ephemeral/witx/wasi_ephemeral_preview.witx"])
12-
.unwrap_or_else(|e| panic!("failed to parse: {}", e));
11+
witx::load(&[
12+
"../../phases/ephemeral/witx/wasi_ephemeral_args.witx",
13+
"../../phases/ephemeral/witx/wasi_ephemeral_clock.witx",
14+
"../../phases/ephemeral/witx/wasi_ephemeral_environ.witx",
15+
"../../phases/ephemeral/witx/wasi_ephemeral_fd.witx",
16+
"../../phases/ephemeral/witx/wasi_ephemeral_path.witx",
17+
"../../phases/ephemeral/witx/wasi_ephemeral_poll.witx",
18+
"../../phases/ephemeral/witx/wasi_ephemeral_proc.witx",
19+
"../../phases/ephemeral/witx/wasi_ephemeral_random.witx",
20+
"../../phases/ephemeral/witx/wasi_ephemeral_sched.witx",
21+
"../../phases/ephemeral/witx/wasi_ephemeral_sock.witx",
22+
])
23+
.unwrap_or_else(|e| panic!("failed to parse: {}", e));
1324
}
1425

1526
#[test]

0 commit comments

Comments
 (0)