Permalink
Browse files

compiler/natives/src/bytes: Skip all tests that rely on syscall.Getpa…

…gesize.

Fixes:

	--- FAIL: TestIndexByteNearPageBoundary (0.00s)
		Error: runtime error: native function not implemented: syscall.Getpagesize
	FAIL	bytes	19.341s
  • Loading branch information...
dmitshur committed Jan 12, 2018
1 parent 6a853f3 commit 0c9f81a6dd3cf60905702536aa00b9e79ed0399c
Showing with 4 additions and 2 deletions.
  1. +4 −2 compiler/natives/src/bytes/bytes_test.go
@@ -6,6 +6,8 @@ import (
"testing"
)
func TestEqualNearPageBoundary(t *testing.T) {
t.Skip()
func dangerousSlice(t *testing.T) []byte {
t.Skip("dangerousSlice relies on syscall.Getpagesize, which GopherJS doesn't implement")
panic("unreachable")
}

0 comments on commit 0c9f81a

Please sign in to comment.