Mercurial > hg
annotate tests/.balto.toml @ 49396:ece490b02a9b
setup: use the full executable manifest from `python.exe`
The manifest embedded by the build process (before the string here is added)
already accounts for the `<requestedExecutionLevel level="asInvoker" ...>`
setting. (Note that the PyOxidizer build is missing this, so it will likely
trigger the UAC escalation prompt on each run.) However, using `mt.exe` to
merge the fragment with what is already in the manifest seems to strip all
whitespace, making it unreadable.
Since Mercurial can be run via `python.exe`, it makes sense that we would have
the same manifest settings (like the supported OS list), though I'm unaware of
any functionality this enables. It also has the nice effect of making the
content readable from a resource editor. The manifest comes from python 3.9.12.
Note that this seems to strip the `<?xml ... ?>` declaration when viewed with
ResourceHacker 5.1.7, but this was also the state of things with the previous
commit, and `mt.exe "-inputresource:hg.exe;#1" -out:extracted` does contain the
declaration and the BOM in both cases. No idea why this differs from other
executables.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Mon, 18 Jul 2022 19:18:00 -0400 |
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" |