Skip to content

Commit

Permalink
TMP: Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
fmeum committed Jul 31, 2024
1 parent eb19027 commit 93abbb8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/generationtest/generation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,15 @@ func TestFullGeneration(t *testing.T) {

// Collect tests in the same repo as the gazelle binary.
repo := strings.Split(*gazelleBinaryPath, "/")[0]
println("repo: ", repo)
err = fs.WalkDir(r, repo, func(p string, d fs.DirEntry, err error) error {
if err != nil {
return err
}
if d.IsDir() {
return nil
}
println("p: ", p)
// Each repo boundary file marks a test case.
if d.Name() == "WORKSPACE" || d.Name() == "MODULE.bazel" || d.Name() == "REPO.bazel" {
repoRelativeDir := path.Dir(strings.TrimPrefix(p, repo+"/"))
Expand Down

0 comments on commit 93abbb8

Please sign in to comment.