Skip to content

Commit

Permalink
internal/refactor/inline: yet more tweaks to everything test
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
adonovan authored and gopherbot committed Oct 5, 2023
1 parent ee20ddf commit 1e4ce7c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions internal/refactor/inline/everything_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import (
"go/ast"
"go/parser"
"go/types"
"log"
"os"
"path/filepath"
"strings"
Expand Down Expand Up @@ -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):
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 1e4ce7c

Please sign in to comment.