summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-02-28Format: Apply clang-format suggestions to testsOliver Reiche
2022-02-28Test GraphTraverser: Use update-alternatives' c++ by defaultOliver Reiche
2022-02-28Test filesystem: Check exact permissionsOliver Reiche
... instead of relying on the filesystem preventing us from writing to a read-only file, which wont happen if the user is root.
2022-02-28External libgit2: Fix header declarationOliver Reiche
2022-02-28External protobuf: Add missing zlib dependencyOliver Reiche
2022-02-28CLI: Add option to set action timeoutOliver Reiche
2022-02-25Add end-to-end test verifying repository-name resolvingKlaus Aehlig
Repositories are indentified by free names that are bound, in a per-repository way, in a global configuration. Add a test verifying this: the name "other" refers to differnt repositories in the repositories "A" and "B" and chains of depending on "other" can be followed.
2022-02-25Add end-to-end test about target namingKlaus Aehlig
... in particular verifying that relative references cannot go outside a repository and explict file ferences cannot go upwards.
2022-02-25Format: Apply alphabetical include orderOliver Reiche
2022-02-25External bazel_remote_api: Add target for headers of CC bindingsOliver Reiche
2022-02-25External google_apis: Add target for headers of CC bindingsOliver Reiche
... and remove unused CC proto library target.
2022-02-25rules: Add CC/proto/IDE headersOliver Reiche
... to manually request the generation of headers for CC proto bindings. This is useful for IDEs and needed as implicitly generating those bindings via the `proto` field of CC libraries does not expose the produced headers.
2022-02-23Add a first end-to-end test for action equalityKlaus Aehlig
This test also demonstrates the notion of equality used in our action graph: actions are considered equal, if they are defined in the same way (regardless of where they are defined); when looking up actions in cache, however, the inputs are considered extensionally. The test also verifies that if one dumps the action graph, the origins of an action (as the same action can be defined in many places) are reported correctly.
2022-02-23Add shell/test ruleKlaus Aehlig
... allowing to run simple tests given by a shell script.
2022-02-23common rule expression: improve error reportingKlaus Aehlig
... by asserting that "stage_singleton_field" return a non-empty map and providing a meaningful message in the "disjoint_map_union" contained in it.
2022-02-22Initial self-hosting commitKlaus Aehlig
This is the initial version of our tool that is able to build itself. In can be bootstrapped by ./bin/bootstrap.py Co-authored-by: Oliver Reiche <oliver.reiche@huawei.com> Co-authored-by: Victor Moreno <victor.moreno1@huawei.com>