• Russ Cox's avatar
    cmd/dist: wait for pending tests before exiting · 906f9791
    Russ Cox authored
    When 'go tool dist test' stops, it was intended that it first wait for
    pending background tests, like a failed compilation waits for pending
    background compiles. But these three lines prevented that.
    Fix by deleting them. (The actual loop already contains the correct
    logic to avoid running the others and to wait for what's left.)
    
    Change-Id: I4e945495ada903fb0af567910626241bc1c52ba6
    Reviewed-on: https://go-review.googlesource.com/18232Reviewed-by: default avatarIan Lance Taylor <iant@golang.org>
    Run-TryBot: Ian Lance Taylor <iant@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    906f9791
test.go 27.9 KB