![]() Before this patch, a compile error would prevent the 'ok' or 'FAIL' line to be printed. That's unexpected. This patch changes the code in such a way that it's obvious a test result line is printed in all cases. To be able to also print the package name, I had to make sure the build result is passed through everywhere even on all the failure paths. This results in a bit of churn, but it's all relatively straightforward. Found while working on Go 1.20. |
||
---|---|---|
.. | ||
ar.go | ||
build.go | ||
builder_test.go | ||
buildid.go | ||
builtins.go | ||
cc.go | ||
cc1as.cpp | ||
cc1as.h | ||
cc_test.go | ||
clang.cpp | ||
commands.go | ||
config.go | ||
darwin-libsystem.go | ||
elfpatch.go | ||
env.go | ||
error.go | ||
esp.go | ||
jobs.go | ||
library.go | ||
lld.cpp | ||
mingw-w64.go | ||
musl.go | ||
nrfutil.go | ||
objcopy.go | ||
picolibc.go | ||
sizes.go | ||
tools-builtin.go | ||
tools-external.go | ||
tools.go | ||
uf2.go |