• Marcel van Lohuizen's avatar
    testing: added name matcher and sanitizer · 00a2a94c
    Marcel van Lohuizen authored
    The matcher is responsible for sanitizing and uniquing the
    test and benchmark names and thus needs to be included before the
    API can be exposed.
    
    Matching currently uses the regexp to only match the top-level
    tests/benchmarks.
    
    Support for subtest matching is for another CL.
    
    Change-Id: I7c8464068faef7ebc179b03a7fe3d01122cc4f0b
    Reviewed-on: https://go-review.googlesource.com/18897Reviewed-by: default avatarRuss Cox <rsc@golang.org>
    Run-TryBot: Marcel van Lohuizen <mpvl@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    00a2a94c
match.go 2.59 KB