commit | 10517bebde5f6c6803c3241030864761f1ac7a5d | [log] [tgz] |
---|---|---|
author | philwo <philwo@google.com> | Mon Jun 24 04:45:08 2019 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Mon Jun 24 04:45:59 2019 -0700 |
tree | 670c592ba848bba7121ea713b765ed0cd63fdd06 | |
parent | 38cfc187d3b8c3068cd46b730a5ca84ba27d0655 [diff] |
Add missing calls to testenv_tear_down. The recently introduced testenv_tear_down method is a great improvement to overall test reliability, but we have to call it in all cases where we also call the original tear_down method. Without these calls, the testenv.sh wouldn't clean up the workspace when a test failed, which could cause the next test method or the next set_up call of the test suite to fail, too, resulting in a chain reaction of failed tests. (I observed this with the bazel_sandboxing_test when trying to run tests inside a Docker container.) RELNOTES: None. PiperOrigin-RevId: 254734215
{Fast, Correct} - Choose two
Build and test software of any size, quickly and reliably.
Speed up your builds and tests: Bazel only rebuilds what is necessary. With advanced local and distributed caching, optimized dependency analysis and parallel execution, you get fast and incremental builds.
One tool, multiple languages: Build and test Java, C++, Android, iOS, Go, and a wide variety of other language platforms. Bazel runs on Windows, macOS, and Linux.
Scalable: Bazel helps you scale your organization, codebase, and continuous integration solution. It handles codebases of any size, in multiple repositories or a huge monorepo.
Extensible to your needs: Easily add support for new languages and platforms with Bazel's familiar extension language. Share and re-use language rules written by the growing Bazel community.
Follow our tutorials:
See CONTRIBUTING.md
Bazel is released in ‘Beta’. See the product roadmap to learn about the path toward a stable 1.0 release.