• Marcel van Lohuizen's avatar
    testing: improve output · 7e0d6602
    Marcel van Lohuizen authored
    This introduces a few changes
    - Skipped benchmarks now print a SKIP line, also if there was
    no output
    - The benchmark name is only printed if there the benchmark
    was not skipped or did not fail in the probe phase.
    
    It also fixes a bug of doubling a skip message in chatty mode in
    absense of a failure.
    
    The chatty flag is now passed in the common struct to allow
    for testing of the printed messages.
    
    Fixes #14799
    
    Change-Id: Ia8eb140c2e5bb467e66b8ef20a2f98f5d95415d5
    Reviewed-on: https://go-review.googlesource.com/21504Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
    Run-TryBot: Marcel van Lohuizen <mpvl@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    7e0d6602
sub_test.go 13.1 KB