diff options
| author | ItsNotRexed <300290919+ItsNotRexed@users.noreply.github.com> | 2026-11-22 13:14:44 -0500 |
|---|---|---|
| committer | ItsNotRexed <300290919+ItsNotRexed@users.noreply.github.com> | 2026-11-22 13:14:44 -0500 |
| commit | c4bee344ef159bb710c1e17430e02512345b1c04 (patch) | |
| tree | a14b486ca223d5719d5c7c8f17e329cc7fdf01ed /scripts/run_gpu_tests.py | |
| parent | 151c372ee17199b9c7dcbc4eac4e66dbfc77e4ea (diff) | |
| parent | a1343528f7de7fa086aefd2e13942ebe83e6db0a (diff) | |
Merge pull request #2399 from AAyberkU
Diffstat (limited to 'scripts/run_gpu_tests.py')
| -rw-r--r-- | scripts/run_gpu_tests.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/run_gpu_tests.py b/scripts/run_gpu_tests.py index a21cfbffd..75cc92a55 100644 --- a/scripts/run_gpu_tests.py +++ b/scripts/run_gpu_tests.py | |||
| @@ -1327,4 +1327,8 @@ def run_suite(a, work: str) -> int: | |||
| 1327 | 1327 | ||
| 1328 | 1328 | ||
| 1329 | if __name__ == "__main__": | 1329 | if __name__ == "__main__": |
| 1330 | try: # a redirected stdout is strict ANSI code page under -I; write '?' for what it cannot encode | ||
| 1331 | sys.stdout.reconfigure(errors="replace") | ||
| 1332 | except (AttributeError, ValueError, OSError): | ||
| 1333 | pass | ||
| 1330 | sys.exit(main()) | 1334 | sys.exit(main()) |