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

testenv.sh: do not run "bazel info" unnecessarily #5707

Closed

Conversation

laszlocsomor
Copy link
Contributor

testenv.sh no longer runs "bazel info bazel-bin"
and "bazel info bazel-genfiles", because the only
test that needs this information is
bazel_sandboxing_test.sh

This saves 1-2 seconds on Windows in every shell
test setup.

Also, on Windows we can safely run Bazel in a
subshell since #3148 is fixed.

Change-Id: If9873221d536f1acfd4849afbfc83b94311de2bd

testenv.sh no longer runs "bazel info bazel-bin"
and "bazel info bazel-genfiles", because the only
test that needs this information is
bazel_sandboxing_test.sh

This saves 1-2 seconds on Windows in every shell
test setup.

Also, on Windows we can safely run Bazel in a
subshell since bazelbuild#3148 is fixed.

Change-Id: If9873221d536f1acfd4849afbfc83b94311de2bd
Change-Id: I04e37c4d5f794017a6050253d8d1b8a8ac43a6d1
Change-Id: I3425050ebd629388e310cd8fdbe84ac41651a59f
@bazel-io bazel-io closed this in 2829ba4 Jul 31, 2018
@laszlocsomor laszlocsomor deleted the no-unnecessary-bazel-info branch July 31, 2018 07:29
werkt pushed a commit to werkt/bazel that referenced this pull request Aug 2, 2018
testenv.sh no longer runs "bazel info bazel-bin"
and "bazel info bazel-genfiles", because the only
test that needs this information is
bazel_sandboxing_test.sh

This saves 1-2 seconds on Windows in every shell
test setup.

Also, on Windows we can safely run Bazel in a
subshell since bazelbuild#3148 is fixed.

Change-Id: If9873221d536f1acfd4849afbfc83b94311de2bd

Closes bazelbuild#5707.

Change-Id: I04e37c4d5f794017a6050253d8d1b8a8ac43a6d1
PiperOrigin-RevId: 206714921
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.

2 participants