Skip to content

Commit d2a3cf2

Browse files
authored
Fix compilation_outputs_test on Windows with latest Bazel (#3623)
Bazel now adds the repo mapping manifest to runfiles. It shows up in the output of `ListRunfiles` on Windows, where it should be ignored.
1 parent c8d7596 commit d2a3cf2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/core/output_groups/compilation_outputs_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ func TestCompilationOutputs(t *testing.T) {
2222
exe = ".exe"
2323
}
2424
expectedFiles := map[string]bool{
25-
"compilation_outputs_test" + exe: true, // test binary; not relevant
25+
"compilation_outputs_test" + exe: true, // test binary; not relevant
26+
"compilation_outputs_test" + exe + ".repo_mapping": true, // test binary repo mapping; not relevant
2627

2728
"lib.a": false, // :lib archive
2829
"lib_test.internal.a": false, // :lib_test archive

0 commit comments

Comments
 (0)