mirror of
				https://github.com/go-delve/delve.git
				synced 2025-11-04 06:32:16 +08:00 
			
		
		
		
	test: add reason for skipping TestDisassembleGlobalVars on arm64 (#1778)
This commit is contained in:
		@ -3595,7 +3595,7 @@ func TestIssue1145(t *testing.T) {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
func TestDisassembleGlobalVars(t *testing.T) {
 | 
					func TestDisassembleGlobalVars(t *testing.T) {
 | 
				
			||||||
	if runtime.GOARCH == "arm64" {
 | 
						if runtime.GOARCH == "arm64" {
 | 
				
			||||||
		t.Skip("test is not valid on ARM64")
 | 
							t.Skip("On ARM64 symLookup can't look up variables due to how they are loaded, see issue #1778")
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	withTestProcess("teststepconcurrent", t, func(p proc.Process, fixture protest.Fixture) {
 | 
						withTestProcess("teststepconcurrent", t, func(p proc.Process, fixture protest.Fixture) {
 | 
				
			||||||
		mainfn := p.BinInfo().LookupFunc["main.main"]
 | 
							mainfn := p.BinInfo().LookupFunc["main.main"]
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user