| jogfile_output_key |
|
11752 |
- |
| python.toml |
|
75 |
- |
| test_jogfile_output_key.py |
A regression test. Very fragile.
It generates a jogfile with keys for metrics_test.yaml and compares that JSON with an expected output JSON file.
To generate new expected output files, set `UPDATE_EXPECT=1` when running the test suite:
UPDATE_EXPECT=1 mach test toolkit/components/glean/tests/pytest
|
2114 |
- |
| test_mach_commands_spawn.py |
Regression tests for Bug 2019789.
The newtab mach subcommands spawn a child mach process. Passing a bare,
relative, extension-less "./mach" as argv[0] crashes on Windows with
WinError 193 (CreateProcess cannot run a shebang script as a Win32 process)
and assumes CWD == topsrcdir. The fix launches via the running interpreter
(sys.executable) with an absolute path to mach. These tests pin that argv
shape so a relative "./mach" cannot creep back in.
|
4753 |
- |