mirror of
https://github.com/golang/go
synced 2024-11-23 05:10:09 -07:00
cmd/asm/internal/asm: report arch if assembly fails
Just a trivial thing I noticed in passing. Change-Id: I875069ceffd623f9e430d07feb5042ab9e69917e Reviewed-on: https://go-review.googlesource.com/7472 Reviewed-by: Rob Pike <r@golang.org>
This commit is contained in:
parent
14fbec49dc
commit
c9089e64be
@ -38,7 +38,7 @@ func testEndToEnd(t *testing.T, goarch string) {
|
||||
obj.Binitw(ioutil.Discard)
|
||||
pList.Firstpc, ok = parser.Parse()
|
||||
if !ok {
|
||||
t.Fatalf("asm: ppc64 assembly failed")
|
||||
t.Fatalf("asm: %s assembly failed", goarch)
|
||||
}
|
||||
result := string(testOut.Bytes())
|
||||
expect, err := ioutil.ReadFile(output)
|
||||
|
Loading…
Reference in New Issue
Block a user