summaryrefslogtreecommitdiffstats
path: root/llvm/utils/lit/tests/shell-parsing.py
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2013-08-14 15:24:58 +0000
committerDaniel Dunbar <daniel@zuster.org>2013-08-14 15:24:58 +0000
commitcf0702601a1b2ef2430c7af2a5c4b3c4b21608b0 (patch)
tree127aaeb9dc980016cde76f932fab3acd6d7adecc /llvm/utils/lit/tests/shell-parsing.py
parentede1aa2d3123f52ad99d951d4b8e8ac8a342b1f0 (diff)
downloadbcm5719-llvm-cf0702601a1b2ef2430c7af2a5c4b3c4b21608b0.tar.gz
bcm5719-llvm-cf0702601a1b2ef2430c7af2a5c4b3c4b21608b0.zip
[lit] Support parsing scripts with inconsistent or invalid encodings.
- For whatever reason, we have a lot of test files with bogus unicode characters. This patch allows those scripts to still be parsed on Python3 by changing the parsing logic to work on binary files, and only require the actual script commands to be convertible to ascii. llvm-svn: 188376
Diffstat (limited to 'llvm/utils/lit/tests/shell-parsing.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud