Skip to content
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

cc_test in an external repository fails to run when using --nolegacy_external_runfiles #6222

Closed
det opened this issue Sep 24, 2018 · 3 comments
Assignees
Labels
P2 We'll consider working on this in future. (Assignee optional) team-Rules-CPP Issues for C++ rules type: bug

Comments

@det
Copy link
Contributor

det commented Sep 24, 2018

Description of the problem / feature request:

cc_test in an external repository fails to run when using --nolegacy_external_runfiles

Feature requests: what underlying problem are you trying to solve with this feature?

When running bazel test the following error occurs:
external/bazel_tools/tools/test/test-setup.sh: line 261: : command not found

Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.

Create a cc_test in an external repository with an empty main and run bazel test @repository//:test --nolegacy_external_runfiles

What operating system are you running Bazel on?

Ubuntu 14.04

What's the output of bazel info release?

release 0.17.2

Have you found anything relevant by searching the web?

No

@iirina iirina added team-Rules-CPP Issues for C++ rules untriaged labels Sep 25, 2018
@scentini scentini added P2 We'll consider working on this in future. (Assignee optional) and removed untriaged labels Oct 16, 2018
@scentini scentini assigned scentini and hlopko and unassigned scentini Oct 16, 2018
@hlopko
Copy link
Member

hlopko commented Jan 11, 2019

Does bazel 0.21 still have this problem?

@det
Copy link
Contributor Author

det commented Jul 3, 2019

This is still broken in bazel 0.25 at least

@hlopko
Copy link
Member

hlopko commented Jul 8, 2019

Seems it is fixed for 0.26 and later: #8088

@hlopko hlopko closed this as completed Jul 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P2 We'll consider working on this in future. (Assignee optional) team-Rules-CPP Issues for C++ rules type: bug
Projects
None yet
Development

No branches or pull requests

4 participants