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 <adonovan@google.com>
Reviewed-by: Robert Findley <rfindley@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
This commit is contained in:
Alan Donovan 2023-10-05 13:14:29 -04:00 коммит произвёл Gopher Robot
Родитель ee20ddf1f7
Коммит 1e4ce7c30c
1 изменённых файлов: 3 добавлений и 2 удалений

Просмотреть файл

@ -10,6 +10,7 @@ import (
"go/ast"
"go/parser"
"go/types"
"log"
"os"
"path/filepath"
"strings"
@ -37,7 +38,7 @@ var packagesFlag = flag.String("packages", "", "set of packages for TestEverythi
//
// And these commands to inline everything in the kubernetes repository:
//
// $ go build -c -o /tmp/everything ./internal/refactor/inline/
// $ go test -c -o /tmp/everything ./internal/refactor/inline/
// $ (cd kubernetes && /tmp/everything -test.run=Everything -packages=./...)
//
// TODO(adonovan):
@ -226,7 +227,7 @@ func TestEverything(t *testing.T) {
noMutCheck()
}
}
t.Errorf("Analyzed %d packages", len(pkgs))
log.Printf("Analyzed %d packages", len(pkgs))
}
type importerFunc func(path string) (*types.Package, error)