v8/tools/testrunner/testproc
jameslahm 8306599e9b [d8] Add unicode filename support on windows
This is a follow up CL for https://crrev.com/c/3538284.
Tests credited to https://crrev.com/c/3468352.

- Add unicode filename path test.
- Convert ansi encoded filename argv to utf8 encoded on windows. Because
the ansi encoded filename argv may lose some information for unicode
filename, and we need to use GetCommandLineW to get the actual unicode
filename argument. And we convert it to utf8 encoded to be consistent
with subsequent processing.
- Use REPLACEMENT CHARACTER to replace the characters which cannot be
encoded with sys.stdout.encoding in progress.py.

This CL should be **reverted** if new unicode filenames cause problems.

Bug: v8:12541
Change-Id: Ic5c5ae342b3a5b11c3119452af03c9165d429ed7
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3568926
Reviewed-by: Clemens Backes <clemensb@chromium.org>
Reviewed-by: Michael Achenbach <machenbach@chromium.org>
Commit-Queue: 王澳 <wangao.james@bytedance.com>
Cr-Commit-Position: refs/heads/main@{#79850}
2022-04-07 11:40:34 +00:00
..
__init__.py
base.py
combiner.py Reland "[tools] Clean up py2 code" 2022-03-25 12:14:26 +00:00
execution.py
expectation.py [infra] Make no-fail the default for numfuzz builders 2021-09-29 15:23:56 +00:00
filter.py [tools] Port testrunner/testproc/filter.py to PY3 2021-10-01 12:15:15 +00:00
fuzzer.py [heap] Add flag for disabling map space 2022-02-18 09:03:07 +00:00
loader.py
progress.py [d8] Add unicode filename support on windows 2022-04-07 11:40:34 +00:00
rerun.py
result.py
seed.py
sequence_test.py Allow V8 to run all unittests presubmit 2022-03-29 11:14:09 +00:00
sequence.py [test] Run heavy tests sequentially 2021-05-21 12:59:49 +00:00
shard_test.py Allow V8 to run all unittests presubmit 2022-03-29 11:14:09 +00:00
shard.py
sigproc.py Reland "[tools] Clean up py2 code" 2022-03-25 12:14:26 +00:00
timeout.py Reland "[tools] Clean up py2 code" 2022-03-25 12:14:26 +00:00
util_test.py Allow V8 to run all unittests presubmit 2022-03-29 11:14:09 +00:00
util.py Reland "[tools] Clean up py2 code" 2022-03-25 12:14:26 +00:00
variant_test.py Allow V8 to run all unittests presubmit 2022-03-29 11:14:09 +00:00
variant.py [test] Run heavy tests sequentially 2021-05-21 12:59:49 +00:00