Skip to content

Set --enable_runfiles for Windows Bazel builds #1246

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 10, 2025

Conversation

yukawa
Copy link
Collaborator

@yukawa yukawa commented Apr 1, 2025

Description

As a preparation to make unit tests run with Bazel on Windows (#1223), this commit adds --enable_runfiles to build/test commands on Windows. Otherwise, some tests fail due to missing generated files.

Issue IDs

Steps to test new behaviors (if any)

  • OS: Windows 11 24H2
  • Steps:
    1. bazelisk test //win32/base:text_icon_test --config oss_windows -c dbg --build_tests_only

As a preparation to make unit tests run with Bazel on Windows (google#1223),
this commit adds '--enable_runfiles' to build/test commands on Windows.
Otherwise, some tests fail due to missing generated files.
@hiroyuki-komatsu hiroyuki-komatsu merged commit 5252276 into google:master Apr 10, 2025
1 check passed
@hiroyuki-komatsu
Copy link
Collaborator

We have merged your PR.
Thank you for the contribution!

@yukawa yukawa deleted the issue_1223_enable_runfiles branch April 10, 2025 08:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants