Skip to content

Commit 1e4ce7c

Browse files
adonovangopherbot
authored andcommitted
internal/refactor/inline: yet more tweaks to everything test
Change-Id: I052a9de860abbad199329b1c9ef52507988a59dc Reviewed-on: https://go-review.googlesource.com/c/tools/+/533175 Auto-Submit: Alan Donovan <[email protected]> Reviewed-by: Robert Findley <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]>
1 parent ee20ddf commit 1e4ce7c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

internal/refactor/inline/everything_test.go

+3-2
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import (
1010
"go/ast"
1111
"go/parser"
1212
"go/types"
13+
"log"
1314
"os"
1415
"path/filepath"
1516
"strings"
@@ -37,7 +38,7 @@ var packagesFlag = flag.String("packages", "", "set of packages for TestEverythi
3738
//
3839
// And these commands to inline everything in the kubernetes repository:
3940
//
40-
// $ go build -c -o /tmp/everything ./internal/refactor/inline/
41+
// $ go test -c -o /tmp/everything ./internal/refactor/inline/
4142
// $ (cd kubernetes && /tmp/everything -test.run=Everything -packages=./...)
4243
//
4344
// TODO(adonovan):
@@ -226,7 +227,7 @@ func TestEverything(t *testing.T) {
226227
noMutCheck()
227228
}
228229
}
229-
t.Errorf("Analyzed %d packages", len(pkgs))
230+
log.Printf("Analyzed %d packages", len(pkgs))
230231
}
231232

232233
type importerFunc func(path string) (*types.Package, error)

0 commit comments

Comments
 (0)