Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests: use latest wasmtime for testing #327

Merged
merged 1 commit into from
May 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
0-cache-macos-latest
if: matrix.os == 'macos-latest'
- name: Install wasmtime for tests
run: curl -f -L --retry 5 https://wasmtime.dev/install.sh | bash -s -- --version v2.0.2
run: curl -f -L --retry 5 https://wasmtime.dev/install.sh | bash -s -- --version v8.0.1
- uses: actions/checkout@v3
with:
fetch-depth: 0
Expand Down
4 changes: 2 additions & 2 deletions tests/general/abort.c.stderr.expected
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ Error: failed to run main module `abort.c.---.wasm`

Caused by:
0: failed to invoke command default
1: wasm trap: wasm `unreachable` instruction executed
wasm backtrace:
1: error while executing at wasm backtrace:
2: wasm trap: wasm `unreachable` instruction executed
5 changes: 2 additions & 3 deletions tests/general/abort.c.stderr.expected.filter
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/bin/bash
#!/usr/bin/env bash
set -euo pipefail

cat \
| sed -e 's/main module `abort\.c\.[^`]*\.wasm`/main module `abort.c.---.wasm`/' \
| sed -e 's/source location: @[[:xdigit:]]*$/source location: @----/' \
| head -n 6
| sed -E '/0x[[:xdigit:]]+/d'
4 changes: 2 additions & 2 deletions tests/general/assert-fail.c.stderr.expected
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ Error: failed to run main module `assert-fail.c.---.wasm`

Caused by:
0: failed to invoke command default
1: wasm trap: wasm `unreachable` instruction executed
wasm backtrace:
1: error while executing at wasm backtrace:
2: wasm trap: wasm `unreachable` instruction executed
5 changes: 2 additions & 3 deletions tests/general/assert-fail.c.stderr.expected.filter
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/bin/bash
#!/usr/bin/env bash
set -euo pipefail

cat \
| sed -e 's/main module `assert-fail\.c\.[^`]*\.wasm`/main module `assert-fail.c.---.wasm`/' \
| sed -e 's/source location: @[[:xdigit:]]*$/source location: @----/' \
| head -n 7
| sed -E '/0x[[:xdigit:]]+/d'