commit | 87ba294ceb0b7aae8349d567931c85511d588b9b | [log] [tgz] |
---|---|---|
author | Dan Willemsen <dwillemsen@google.com> | Tue Jun 23 17:21:00 2015 -0700 |
committer | Dan Willemsen <dwillemsen@google.com> | Thu Jun 25 11:45:54 2015 -0700 |
tree | aa9adff3d8d16915091b138d41e21d62a9dcad9f | |
parent | 30a80c3e5fd67a394094efd93ec878a260f508f1 [diff] |
Add option to build and run tests during bootstrap Users that want to enable this option can use the '-t' option to bootstrap.bash when passing '-r'. Builders that want to enable this can set the RUN_TESTS environment variable in their bootstrap.bash. The gotestmain tools is needed to write the main functions for the test binaries, since 'go test' doesn't work well in this environment. Change-Id: Iec5c2b5c9c3f5e3ba0ac8677fb88f5e963f9bd3f
Blueprint is a meta-build system that reads in Blueprints files that describe modules that need to be built, and produces a Ninja manifest describing the commands that need to be run and their dependencies. Where most build systems use built-in rules or a domain-specific language to describe the logic for converting module descriptions to build rules, Blueprint delegates this to per-project build logic written in Go. For large, heterogenous projects this allows the inherent complexity of the build logic to be maintained in a high-level language, while still allowing simple changes to individual modules by modifying easy to understand Blueprints files.