File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ export GOARCH := 'arm'
55[group (' test' )]
66[working-directory (' ../' )]
77test :
8- GOARM=5 go test -exec ' qemu-arm -cpu pxa250 ' ./ tests/ ...
8+ GOARM=5 go test -exec ' qemu-arm -cpu arm926 ' ./ tests/ ...
99 GOARM=6 go test -exec ' qemu-arm -cpu arm1176' ./ tests/ ...
1010 GOARM=7 go test -exec ' qemu-arm -cpu cortex-a15' ./ tests/ ...
1111 go test -exec ' qemu-arm -cpu max' ./ tests/ ...
@@ -18,15 +18,13 @@ build:
1818[group (' test' )]
1919[working-directory (' ../' )]
2020test-cpu-detection :
21- GOARM=5 go run -exec ' qemu-arm -cpu pxa250' main.go architecture system | grep -q ' ^armv5$'
22- GOARM=6 go run -exec ' qemu-arm -cpu arm1176' main.go architecture system | grep -q ' ^armv6$'
23- GOARM=7 go run -exec ' qemu-arm -cpu cortex-a15' main.go architecture system | grep -q ' ^armv7$'
21+ # 32 bit ARM is no longer correctly emulated on recent versions if Qemu
2422 go run -exec ' qemu-arm -cpu max' main.go architecture system | grep -q ' ^aarch64$'
2523
2624[group (' test' )]
2725[working-directory (' ../' )]
2826test-os-detection :
29- GOARM=5 go run -exec ' qemu-arm -cpu pxa250 ' main.go architecture os | grep -q ' ^armv5tel$'
27+ GOARM=5 go run -exec ' qemu-arm -cpu arm926 ' main.go architecture os | grep -q ' ^armv5tel$'
3028 GOARM=6 go run -exec ' qemu-arm -cpu arm1176' main.go architecture os | grep -q ' ^armv6l$'
3129 GOARM=7 go run -exec ' qemu-arm -cpu cortex-a15' main.go architecture os | grep -q ' ^armv7l$'
3230 go run -exec ' qemu-arm -cpu max' main.go architecture os | grep -q ' ^armv7l$'
You can’t perform that action at this time.
0 commit comments