[ty] Set `INSTA_FORCE_PASS` and `INSTA_OUTPUT` environment variables from mdtest.py (#21029)

This commit is contained in:
Alex Waygood 2025-10-22 15:32:14 +01:00 committed by GitHub
parent 58a68f1bbd
commit 20510e1d71
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 1 deletions

View File

@ -106,7 +106,12 @@ class MDTestRunner:
return subprocess.run(
[self.mdtest_executable, *arguments],
cwd=CRATE_ROOT,
env=dict(os.environ, CLICOLOR_FORCE="1"),
env=dict(
os.environ,
CLICOLOR_FORCE="1",
INSTA_FORCE_PASS="1",
INSTA_OUTPUT="none",
),
capture_output=capture_output,
text=True,
check=False,