From 105b764ad04a565063eeac88bc5e2803224e9892 Mon Sep 17 00:00:00 2001 From: David Symonds Date: Tue, 22 Jul 2014 17:50:39 +1000 Subject: [PATCH] benchcmp: Fix invocation instructions. `go test` takes -run and -bench; the -test.run and -test.bench flags are only for the test binary itself. LGTM=adg R=adg CC=golang-codereviews https://golang.org/cl/113390043 --- cmd/benchcmp/benchcmp.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/benchcmp/benchcmp.go b/cmd/benchcmp/benchcmp.go index 6cc4205bf7..9bfe2e3419 100644 --- a/cmd/benchcmp/benchcmp.go +++ b/cmd/benchcmp/benchcmp.go @@ -21,7 +21,7 @@ var ( const usageFooter = ` Each input file should be from: - go test -test.run=NONE -test.bench=. > [old,new].txt + go test -run=NONE -bench=. > [old,new].txt Benchcmp compares old and new for each benchmark.