commit | eaf29cb013872205f0f79458aab5d457bef1f44c | [log] [tgz] |
---|---|---|
author | twigg <twigg@google.com> | Thu Jan 23 08:40:08 2020 -0800 |
committer | Copybara-Service <copybara-worker@google.com> | Thu Jan 23 08:41:06 2020 -0800 |
tree | d6217ac2d8a31a0b4f48be0d31919e4917c58e2c | |
parent | 1fe5cb0a534ebaa7900f6cf297d5d24b27e6acf9 [diff] |
execution transition should no longer reset trim_test_configuration As explained in the bug, the execution transition was improperly resetting trim_test_configuration causing unnecessary creation of ConfiguredTargets (which was also leading to functional issues as duplicate CppActions are not de-duplicated). Fix by causing execution transition to preserve the trim_test_configuration flag. Refactored tests a bit. Renamed the old TestTrimmingTransitionTest to TrimTestConfigurationTest as it was doing build-level tests (with fake bzl and BUILD files). The new TestTrimmingTransitionTest focuses on directly testing the TestTrimmingTransition class. RELNOTES: None PiperOrigin-RevId: 291173657
{Fast, Correct} - Choose two
Build and test software of any size, quickly and reliably.
Speed up your builds and tests: Bazel rebuilds only 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