Mercurial > hg
annotate tests/artifacts/PURPOSE @ 43079:5209fc94b982
ui: define (write|status|warn|note)noi18n aliases
We currently use `write(('...'))` to suppress check-code warnings
about not using translated strings. However, when we run black, it
will strip the `((...))`. In order to placate black, we'll need to use
a different mechanism to pass untranslatable strings. This commit
introduces a `writenoi18n` alias (and friends) to `write` for that
purpose.
Differential Revision: https://phab.mercurial-scm.org/D6994
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Sun, 06 Oct 2019 10:10:14 -0400 |
parents | 966950954fda |
children |
rev | line source |
---|---|
39490
966950954fda
tests: add a `tests/artifacts/` directory
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
1 This directory is meant to cache artifacts useful for tests (such as bundle). |
966950954fda
tests: add a `tests/artifacts/` directory
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
2 |
966950954fda
tests: add a `tests/artifacts/` directory
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
3 Those artifacts need to be cached because they are slow to regenerate on each |
966950954fda
tests: add a `tests/artifacts/` directory
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
4 test but too large to be tracked within the repository. They are not expected |
966950954fda
tests: add a `tests/artifacts/` directory
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
5 to change between each run and can be cached. |
966950954fda
tests: add a `tests/artifacts/` directory
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
6 |
966950954fda
tests: add a `tests/artifacts/` directory
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
7 The `./scripts/` contains code to generate the artifact while the `cache` |
966950954fda
tests: add a `tests/artifacts/` directory
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
8 directory contains resulting artifact. |
966950954fda
tests: add a `tests/artifacts/` directory
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
9 |