commit | 58acb7b85c6e06ac0142a8c8d53e4aa9000ccfd0 | [log] [tgz] |
---|---|---|
author | ccalvarin <ccalvarin@google.com> | Thu Mar 08 10:53:24 2018 -0800 |
committer | Copybara-Service <copybara-piper@google.com> | Thu Mar 08 10:55:24 2018 -0800 |
tree | 226ea3dcbc56e2130df825c98a9a47fea63f5b54 | |
parent | c7e31d3c68b86cfd1e148cebbeab3d3305a655f1 [diff] |
Add unit tests for rc parsing. These provide some testing for the following cases: - tokenization - recognizing comments - grouping of different lines by command - import ordering - import cycles - bad imports There's still room for more, in particular in the multi-command case, but this feels like a good start. Also identified some surprising behaviors that should be fixed. Leaving them tested as documentation of their broken nature. RELNOTES: None. PiperOrigin-RevId: 188355929
{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.