From 55ef56f961bc7d64047e5cc7aadbad7dc20c7d93 Mon Sep 17 00:00:00 2001 From: Fabian Meumertzheim Date: Thu, 13 Jul 2023 10:46:31 +0200 Subject: [PATCH] Fix compilation_outputs_test on Windows with latest Bazel 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