提交 42a4c806 编写于 作者: P Polina Sokolova 提交者: Alessandro Arzilli

Remove redundant check in call tests

上级 3fd78fc4
...@@ -1065,9 +1065,6 @@ func findStarFile(name string) string { ...@@ -1065,9 +1065,6 @@ func findStarFile(name string) string {
} }
func TestIssue1598(t *testing.T) { func TestIssue1598(t *testing.T) {
if runtime.GOARCH == "arm64" || runtime.GOARCH == "386" {
t.Skip(fmt.Errorf("%s does not support FunctionCall for now", runtime.GOARCH))
}
test.MustSupportFunctionCalls(t, testBackend) test.MustSupportFunctionCalls(t, testBackend)
withTestTerminal("issue1598", t, func(term *FakeTerminal) { withTestTerminal("issue1598", t, func(term *FakeTerminal) {
term.MustExec("break issue1598.go:5") term.MustExec("break issue1598.go:5")
......
...@@ -1730,9 +1730,6 @@ func mustHaveDebugCalls(t *testing.T, c service.Client) { ...@@ -1730,9 +1730,6 @@ func mustHaveDebugCalls(t *testing.T, c service.Client) {
} }
func TestClientServerFunctionCall(t *testing.T) { func TestClientServerFunctionCall(t *testing.T) {
if runtime.GOARCH == "arm64" {
t.Skip("arm64 does not support FunctionCall for now")
}
protest.MustSupportFunctionCalls(t, testBackend) protest.MustSupportFunctionCalls(t, testBackend)
withTestClient2("fncall", t, func(c service.Client) { withTestClient2("fncall", t, func(c service.Client) {
mustHaveDebugCalls(t, c) mustHaveDebugCalls(t, c)
...@@ -1764,9 +1761,6 @@ func TestClientServerFunctionCall(t *testing.T) { ...@@ -1764,9 +1761,6 @@ func TestClientServerFunctionCall(t *testing.T) {
} }
func TestClientServerFunctionCallBadPos(t *testing.T) { func TestClientServerFunctionCallBadPos(t *testing.T) {
if runtime.GOARCH == "arm64" {
t.Skip("arm64 does not support FunctionCall for now")
}
protest.MustSupportFunctionCalls(t, testBackend) protest.MustSupportFunctionCalls(t, testBackend)
if goversion.VersionAfterOrEqual(runtime.Version(), 1, 12) { if goversion.VersionAfterOrEqual(runtime.Version(), 1, 12) {
t.Skip("this is a safe point for Go 1.12") t.Skip("this is a safe point for Go 1.12")
...@@ -1794,9 +1788,6 @@ func TestClientServerFunctionCallBadPos(t *testing.T) { ...@@ -1794,9 +1788,6 @@ func TestClientServerFunctionCallBadPos(t *testing.T) {
} }
func TestClientServerFunctionCallPanic(t *testing.T) { func TestClientServerFunctionCallPanic(t *testing.T) {
if runtime.GOARCH == "arm64" {
t.Skip("arm64 does not support FunctionCall for now")
}
protest.MustSupportFunctionCalls(t, testBackend) protest.MustSupportFunctionCalls(t, testBackend)
withTestClient2("fncall", t, func(c service.Client) { withTestClient2("fncall", t, func(c service.Client) {
mustHaveDebugCalls(t, c) mustHaveDebugCalls(t, c)
...@@ -1823,9 +1814,6 @@ func TestClientServerFunctionCallPanic(t *testing.T) { ...@@ -1823,9 +1814,6 @@ func TestClientServerFunctionCallPanic(t *testing.T) {
} }
func TestClientServerFunctionCallStacktrace(t *testing.T) { func TestClientServerFunctionCallStacktrace(t *testing.T) {
if runtime.GOARCH == "arm64" {
t.Skip("arm64 does not support FunctionCall for now")
}
if goversion.VersionAfterOrEqual(runtime.Version(), 1, 15) { if goversion.VersionAfterOrEqual(runtime.Version(), 1, 15) {
t.Skip("Go 1.15 executes function calls in a different goroutine so the stack trace will not contain main.main or runtime.main") t.Skip("Go 1.15 executes function calls in a different goroutine so the stack trace will not contain main.main or runtime.main")
} }
......
...@@ -1150,9 +1150,6 @@ type testCaseCallFunction struct { ...@@ -1150,9 +1150,6 @@ type testCaseCallFunction struct {
} }
func TestCallFunction(t *testing.T) { func TestCallFunction(t *testing.T) {
if runtime.GOARCH == "arm64" {
t.Skip("arm64 does not support CallFunction for now")
}
protest.MustSupportFunctionCalls(t, testBackend) protest.MustSupportFunctionCalls(t, testBackend)
var testcases = []testCaseCallFunction{ var testcases = []testCaseCallFunction{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册