• Brad Fitzpatrick's avatar
    test: make test/run.go support sharding · ec745fc4
    Brad Fitzpatrick authored
    Also modifies 'dist test' to use that sharding, and removes some old
    temporary stuff from dist test which are no longer required.
    
    'dist test' now also supports running a list of tests given in
    arguments, mutually exclusive with the existing -run=REGEXP flag. The
    hacky fast paths for avoiding the 1 second "go list" latency are now
    removed and only apply to the case where partial tests are run via
    args, instead of regex.  The build coordinator will use both styles
    for awhile. (the statically-sharded ARM builders on scaleway will
    continue to use regexps, but the dynamically-shared builders on GCE
    will use the list of tests)
    
    Updates #10029
    
    Change-Id: I557800a54dfa6f3b5100ef4c26fe397ba5189813
    Reviewed-on: https://go-review.googlesource.com/10688Reviewed-by: 's avatarAndrew Gerrand <adg@golang.org>
    Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    ec745fc4
run.go 24.5 KB