mirror of
https://github.com/go-delve/delve.git
synced 2025-10-29 01:27:16 +08:00
test: fix tests on arm64
* remove skip-code of some arm64 tests, which implemented. * fix errors in testsuits for arm64
This commit is contained in:
@ -1127,7 +1127,7 @@ type testCaseCallFunction struct {
|
||||
|
||||
func TestCallFunction(t *testing.T) {
|
||||
if runtime.GOARCH == "arm64" {
|
||||
t.Skip("test is not valid on ARM64")
|
||||
t.Skip("arm64 do not support CallFunction for now")
|
||||
}
|
||||
protest.MustSupportFunctionCalls(t, testBackend)
|
||||
|
||||
@ -1412,9 +1412,6 @@ func assertCurrentLocationFunction(p proc.Process, t *testing.T, fnname string)
|
||||
}
|
||||
|
||||
func TestPluginVariables(t *testing.T) {
|
||||
if runtime.GOARCH == "arm64" {
|
||||
t.Skip("test is not valid on ARM64")
|
||||
}
|
||||
pluginFixtures := protest.WithPlugins(t, protest.AllNonOptimized, "plugin1/", "plugin2/")
|
||||
|
||||
withTestProcessArgs("plugintest2", t, ".", []string{pluginFixtures[0].Path, pluginFixtures[1].Path}, protest.AllNonOptimized, func(p proc.Process, fixture protest.Fixture) {
|
||||
|
||||
Reference in New Issue
Block a user