Skip to content

Commit 2c17516

Browse files
committed
Update tests/ subdir
1 parent 1107d93 commit 2c17516

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

test/README.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,11 @@ This directory contains Component Model reference tests, grouped by functionalit
44

55
## Running in Wasmtime
66

7-
All tests currently run and (except temporarily while spec changes are rolling out)
8-
pass using the [`dev` release of `wasip3-prototyping`](https://github.com/bytecodealliance/wasip3-prototyping/releases/tag/dev).
9-
107
A single `.wast` test can be run via:
118
```
129
wasmtime wast -W component-model-async=y the-test.wast
1310
```
1411
All the tests can be run from this directory via:
1512
```
16-
find . -name "*.wast" | xargs wasmtime-p3 wast -W component-model-async=y
13+
find . -name "*.wast" | xargs wasmtime wast -W component-model-async=y
1714
```

test/async/drop-stream.wast

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,6 @@
155155
(func (export "drop-while-writing") (alias export $d "drop-while-writing"))
156156
)
157157
(component instance $new-tester-instance $Tester)
158-
(assert_trap (invoke "drop-while-reading") "cannot drop busy stream or future")
158+
(assert_trap (invoke "drop-while-reading") "cannot remove busy stream")
159159
(component instance $new-tester-instance $Tester)
160-
(assert_trap (invoke "drop-while-writing") "cannot drop busy stream or future")
160+
(assert_trap (invoke "drop-while-writing") "cannot drop busy stream")

test/async/passing-resources.wast

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,4 +173,4 @@
173173
(func (export "fail-accessing-res1") (alias export $producer "fail-accessing-res1"))
174174
)
175175
(assert_return (invoke "run") (u32.const 42))
176-
(assert_trap (invoke "fail-accessing-res1") "unknown handle index 1")
176+
(assert_trap (invoke "fail-accessing-res1") "unknown handle index")

0 commit comments

Comments
 (0)