Mercurial > hg
annotate tests/.balto.toml @ 42194:0da689a60163
fix: allow fixer tools to return metadata in addition to the file content
With this change, fixer tools can be configured to output a JSON object that
will be parsed and passed to hooks that can be used to print summaries of what
code was formatted or perform other post-fixing work.
The motivation for this change is to allow parallel executions of a
"meta-formatter" tool to report back statistics, which are then aggregated and
processed after all formatting has completed. Providing an extensible mechanism
inside fix.py is far simpler, and more portable, than trying to make a tool
like this communicate through some other channel.
Differential Revision: https://phab.mercurial-scm.org/D6167
author | Danny Hooper <hooper@google.com> |
---|---|
date | Thu, 21 Mar 2019 18:32:45 -0700 |
parents | 337a38995336 |
children |
rev | line source |
---|---|
40673
337a38995336
tests: add Balto configuration file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
1 # Balto (https://bitbucket.org/lothiraldan/balto/src) is a test orchestrator |
337a38995336
tests: add Balto configuration file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
2 # which is compatible with all test runner that can emit the LITF |
337a38995336
tests: add Balto configuration file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
3 # (https://github.com/lothiraldan/litf) test format. |
337a38995336
tests: add Balto configuration file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
4 |
337a38995336
tests: add Balto configuration file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
5 # The plugin for the Mercurial test runner is mercurial-litf |
337a38995336
tests: add Balto configuration file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
6 # (https://pypi.org/project/mercurial-litf/). Make sure to follow the |
337a38995336
tests: add Balto configuration file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
7 # instruction and configuration instructions here: |
337a38995336
tests: add Balto configuration file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
8 # https://bitbucket.org/lothiraldan/mercurial_litf/src/default/ |
337a38995336
tests: add Balto configuration file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
9 |
337a38995336
tests: add Balto configuration file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
10 # You can launch Balto with `balto /path/to/mercurial/tests/` |
337a38995336
tests: add Balto configuration file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
11 |
337a38995336
tests: add Balto configuration file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
12 name = "Mercurial Test Suite" |
337a38995336
tests: add Balto configuration file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
13 tool = "mercurial" |