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:
Michael Hudson-Doyle 2015-03-12 22:13:21 +13:00 committed by Rob Pike
parent 14fbec49dc
commit c9089e64be

View file

@ -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)