diff options
author | Laszlo Csomor <laszlocsomor@google.com> | 2017-10-06 10:59:57 +0200 |
---|---|---|
committer | Klaus Aehlig <aehlig@google.com> | 2017-10-06 19:48:53 +0200 |
commit | ddc8e0cd770627d3566ffd51f4802a30416e0cfc (patch) | |
tree | 292558467ae6df0f3fed132ab26c9c1d42b3f2ca /compile.sh | |
parent | 617f8ff0f502e911bba61d0c33390413bef9250c (diff) |
testenv.sh: don't run Bazel in a subshell
In this commit:
- testenv.sh no longer runs Bazel in a subshell
- testenv.sh prints informative log messages that
show the origin (testenv.sh) and the date
- testenv.sh logs to $TEST_log by appending to it,
not by overwriting it
This change speeds up
//src/test/shell/bazel:bazel_windows_example_test from
~260s to ~165s.
On Windows, Bash (MSYS) waits for all subprocesses
of a subshell to terminate before allowing the
subshell itself to terminate too, even if some
subprocesses are daemons.
I think this is a bug, and it's the culprit of
https://github.com/bazelbuild/bazel/issues/3148
Change-Id: If97ea6dfeb904af560b291a7acebd09e43863ab4
PiperOrigin-RevId: 171267462
Diffstat (limited to 'compile.sh')
0 files changed, 0 insertions, 0 deletions