Skip to content

Fix tests in //api_proto on Windows - #610

Merged
pmbethe09 merged 1 commit into
bazel-contrib:masterfrom
laszlocsomor:fix-test-for-tw
Apr 16, 2019
Merged

pmbethe09 merged 1 commit into
bazel-contrib:masterfrom
laszlocsomor:fix-test-for-tw

Conversation

@laszlocsomor

@laszlocsomor laszlocsomor commented Apr 16, 2019 •

Copy link
Copy Markdown
Contributor

Fix the Starlark rule generating
//api_proto:api.gen.pb.go_checkshtest so it works
on Windows, without a runfiles tree.

To fix, the generated shell script now uses the
Bash runfiles library to locate the files to
compare.

See bazelbuild/bazel#5508

Fix the Starlark rule generating
//api_proto:api.gen.pb.go_checkshtest so it works
on Windows, where a runfiles tree is not
available.

To fix, the generated shell script now uses the
Bash runfiles library to locate the files to
compare.

See bazelbuild/bazel#5508

@vladmos vladmos left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@laszlocsomor

Copy link
Copy Markdown
Contributor Author

Thanks @vladmos ! Could you please merge it? I have no write access.

@pmbethe09 pmbethe09 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@pmbethe09
pmbethe09 merged commit 6f32379 into bazel-contrib:master Apr 16, 2019
@laszlocsomor
laszlocsomor deleted the fix-test-for-tw branch April 16, 2019 14:12
cristiancreteanu pushed a commit to cristiancreteanu/buildtools that referenced this pull request Aug 30, 2019
Fix the Starlark rule generating
//api_proto:api.gen.pb.go_checkshtest so it works
on Windows, where a runfiles tree is not
available.

To fix, the generated shell script now uses the
Bash runfiles library to locate the files to
compare.

See bazelbuild/bazel#5508
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants