From d2a3cf2d6b18f5be19adccc6a6806e0c3b8c410b Mon Sep 17 00:00:00 2001 From: Fabian Meumertzheim Date: Thu, 13 Jul 2023 11:11:40 +0200 Subject: [PATCH] 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. --- tests/core/output_groups/compilation_outputs_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/core/output_groups/compilation_outputs_test.go b/tests/core/output_groups/compilation_outputs_test.go index 25daced7bd..4f5166c1d9 100644 --- a/tests/core/output_groups/compilation_outputs_test.go +++ b/tests/core/output_groups/compilation_outputs_test.go @@ -22,7 +22,8 @@ func TestCompilationOutputs(t *testing.T) { exe = ".exe" } expectedFiles := map[string]bool{ - "compilation_outputs_test" + exe: true, // test binary; not relevant + "compilation_outputs_test" + exe: true, // test binary; not relevant + "compilation_outputs_test" + exe + ".repo_mapping": true, // test binary repo mapping; not relevant "lib.a": false, // :lib archive "lib_test.internal.a": false, // :lib_test archive