Skip to content

Commit

Permalink
compiler/natives/src/bytes: Skip all tests that rely on syscall.Getpa…
Browse files Browse the repository at this point in the history
…gesize.

Fixes:

	--- FAIL: TestIndexByteNearPageBoundary (0.00s)
		Error: runtime error: native function not implemented: syscall.Getpagesize
	FAIL	bytes	19.341s
  • Loading branch information
dmitshur committed Feb 16, 2018
1 parent aed37b5 commit 1df2504
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions compiler/natives/src/bytes/bytes_test.go
Expand Up @@ -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 1df2504

Please sign in to comment.