• Rob Pike's avatar
    testing: allow benchmarks to print and fail · c50e4f5e
    Rob Pike authored
    Refactors the benchmarks and test code.
    Now benchmarks can call Errorf, Fail, etc.,
    and the runner will act accordingly.
    
    Because functionality has been folded into an
    embedded type, a number of methods' docs
    no longer appear in godoc output. A fix is
    underway; if it doesn't happen fast enough,
    I'll add wrapper methods to restore the
    documentation.
    
    R=bradfitz, adg, rsc
    CC=golang-dev
    https://golang.org/cl/5492060
    c50e4f5e
Name
Last commit
Last update
doc Loading commit data...
include Loading commit data...
lib Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...