Remove redundant check in call tests

This commit is contained in:
Polina Sokolova 2020-11-03 01:20:09 -08:00 committed by Alessandro Arzilli
parent 3fd78fc498
commit 42a4c80678
3 changed files with 0 additions and 18 deletions

@ -1065,9 +1065,6 @@ func findStarFile(name string) string {
}
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)
withTestTerminal("issue1598", t, func(term *FakeTerminal) {
term.MustExec("break issue1598.go:5")

@ -1730,9 +1730,6 @@ func mustHaveDebugCalls(t *testing.T, c service.Client) {
}
func TestClientServerFunctionCall(t *testing.T) {
if runtime.GOARCH == "arm64" {
t.Skip("arm64 does not support FunctionCall for now")
}
protest.MustSupportFunctionCalls(t, testBackend)
withTestClient2("fncall", t, func(c service.Client) {
mustHaveDebugCalls(t, c)
@ -1764,9 +1761,6 @@ func TestClientServerFunctionCall(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)
if goversion.VersionAfterOrEqual(runtime.Version(), 1, 12) {
t.Skip("this is a safe point for Go 1.12")
@ -1794,9 +1788,6 @@ func TestClientServerFunctionCallBadPos(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)
withTestClient2("fncall", t, func(c service.Client) {
mustHaveDebugCalls(t, c)
@ -1823,9 +1814,6 @@ func TestClientServerFunctionCallPanic(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) {
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 {
}
func TestCallFunction(t *testing.T) {
if runtime.GOARCH == "arm64" {
t.Skip("arm64 does not support CallFunction for now")
}
protest.MustSupportFunctionCalls(t, testBackend)
var testcases = []testCaseCallFunction{