commit | dd04adf4877963e76ac83018b46e87ad1c3095b3 | [log] [tgz] |
---|---|---|
author | Ulf Adams <ulfjack@google.com> | Thu Jan 26 12:55:37 2017 +0000 |
committer | Laszlo Csomor <laszlocsomor@google.com> | Thu Jan 26 14:53:49 2017 +0000 |
tree | 2513ab948e7823de5fc6b9638bb913e94c935ed7 | |
parent | 96297ed7a9ab3df0f45e93bae9d71833f4195334 [diff] |
Switch Bazel to use the common test env variables. The effect of this change on Bazel is that we now set the entire list of env variables needed for the various protocols: sharding protocol, undeclared outputs protocol, test warnings, unused runfiles, premature exit signalling, and coverage. We also now set TEST_SIZE, TEST_TIMEOUT, and TEST_RANDOM_SEED. I'm not sure if all of the Bazel-side infrastructure for those protocols is ready yet. With further progress on code sharing, they should fall into place soon, though. Also set GUNIT_OUTPUT for now. Ideally, we'd change upstream to accept our more generic names, but this should do for now. -- PiperOrigin-RevId: 145660945 MOS_MIGRATED_REVID=145660945
{Fast, Correct} - Choose two
Bazel is a build tool that builds code quickly and reliably. It is used to build the majority of Google‘s software, and thus it has been designed to handle build problems present in Google’s development environment, including:
A massive, shared code repository, in which all software is built from source. Bazel has been built for speed, using both caching and parallelism to achieve this. Bazel is critical to Google's ability to continue to scale its software development practices as the company grows.
An emphasis on automated testing and releases. Bazel has been built for correctness and reproducibility, meaning that a build performed on a continuous build machine or in a release pipeline will generate bitwise-identical outputs to those generated on a developer's machine.
Language and platform diversity. Bazel's architecture is general enough to support many different programming languages within Google, and can be used to build both client and server software targeting multiple architectures from the same underlying codebase.
Find more background about Bazel in our FAQ.