commit | cbe76004a2e73bfca7320e8e028ff81622b380cd | [log] [tgz] |
---|---|---|
author | Ulf Adams <ulfjack@google.com> | Wed May 16 05:33:44 2018 -0700 |
committer | Copybara-Service <copybara-piper@google.com> | Wed May 16 05:35:00 2018 -0700 |
tree | 78eea24b7eece7a8a05f103e64df491d8d62ebee | |
parent | 4c6e784c40c90240f0a9e59e76d54b2c9aa673f2 [diff] |
Rewrite lcov path munging to make the paths all relative This makes coverage work with sandboxing, and gets rid of a previous workaround. The only downside is that it requires running genhtml in the exec root in order to be able to resolve relative pahts to source files, like so: (GENHTML_CMD="genhtml -o $(pwd)/report/ -p "$(readlink -f bazel-project)" $(readlink -f bazel-testlogs)/path/to/coverage.dat" && cd bazel-project && $GENHTML_CMD) Closes #5043. PiperOrigin-RevId: 196814568
{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.