aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/runtime_test.go
diff options
context:
space:
mode:
authorJohan Brandhorst-Satzkorn <johan.brandhorst@gmail.com>2023-03-24 23:11:55 -0700
committerGopher Robot <gobot@golang.org>2023-04-06 17:48:24 +0000
commitbe50055eef0f460695adb8db2b130392dc367fe7 (patch)
treede5f16a5f94368df7f74c1eb648e159841c2bafd /src/runtime/runtime_test.go
parentc02fa75086dbc6db0d90f477e7b4c839140fdeb2 (diff)
downloadgo-be50055eef0f460695adb8db2b130392dc367fe7.tar.xz
runtime: add remaining wasip1 files
Implements OS interactions and memory management. For #58141 Co-authored-by: Richard Musiol <neelance@gmail.com> Co-authored-by: Achille Roussel <achille.roussel@gmail.com> Co-authored-by: Julien Fabre <ju.pryz@gmail.com> Co-authored-by: Evan Phoenix <evan@phx.io> Change-Id: I876e7b033090c2fe2d76d2535bb63d52efa36185 Reviewed-on: https://go-review.googlesource.com/c/go/+/479618 TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Cherry Mui <cherryyz@google.com> Reviewed-by: Ian Lance Taylor <iant@google.com> Run-TryBot: Cherry Mui <cherryyz@google.com> Auto-Submit: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/runtime/runtime_test.go')
-rw-r--r--src/runtime/runtime_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/runtime_test.go b/src/runtime/runtime_test.go
index 2faf06e2b9..0839cd96b7 100644
--- a/src/runtime/runtime_test.go
+++ b/src/runtime/runtime_test.go
@@ -207,8 +207,8 @@ func TestSetPanicOnFault(t *testing.T) {
//
//go:nocheckptr
func testSetPanicOnFault(t *testing.T, addr uintptr, nfault *int) {
- if GOOS == "js" {
- t.Skip("js does not support catching faults")
+ if GOOS == "js" || GOOS == "wasip1" {
+ t.Skip(GOOS + " does not support catching faults")
}
defer func() {