Commit c9089e64 authored by Michael Hudson-Doyle's avatar Michael Hudson-Doyle Committed by Rob Pike

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/7472Reviewed-by: 's avatarRob Pike <r@golang.org>
parent 14fbec49
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment