]> Cypherpunks repositories - gostls13.git/commit
test: in asmcheck, dump only the functions which fail
authorGiovanni Bajo <rasky@develer.com>
Sat, 3 Mar 2018 18:44:47 +0000 (19:44 +0100)
committerGiovanni Bajo <rasky@develer.com>
Sun, 4 Mar 2018 01:05:02 +0000 (01:05 +0000)
commit80bfb75c429c4930b8ed603592b4c9df82a79240
tree4650af9d3f244d95af8884f478bc38bed126e797
parent8ce74b7d119a74c5882ae88556991f59267cb947
test: in asmcheck, dump only the functions which fail

Before this change, in case of any failure, asmcheck was
dumping to stderr the whole output of compile -S, which
can be very long if it contains multiple functions.

Make it so it filters the output to only display the
assembly output of functions for which at least one opcode
check failed. This greatly simplifies debugging.

Change-Id: I1bbf54473b8252a3384e2c1dade82d926afc119d
Reviewed-on: https://go-review.googlesource.com/98444
Run-TryBot: Giovanni Bajo <rasky@develer.com>
Reviewed-by: Keith Randall <khr@golang.org>
test/run.go