• Russ Cox's avatar
    cmd/go: add -args to 'go test' to resolve -v ambiguity · 8350e065
    Russ Cox authored
    The new flag -args stops flag processing, leaving the rest of the command line
    to be passed to the underlying test binary verbatim. Thus, both of these pass
    a literal -v -n on the test binary command line, without putting the go command
    into verbose mode or disabling execution of commands:
    
    	go test . -args -v -n
    	go test -args -v -n
    
    Also try to make the documentation a bit clearer.
    
    Fixes #7221.
    Fixes #12177.
    
    Change-Id: Ief9e830a6fbb9475d96011716a86e2524a35eceb
    Reviewed-on: https://go-review.googlesource.com/17775Reviewed-by: 's avatarRob Pike <r@golang.org>
    8350e065
Name
Last commit
Last update
api Loading commit data...
doc Loading commit data...
lib/time Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...