Files
llvm-project/llvm/utils/lit/tests/shtest-encoding.py
Daniel Dunbar cf0702601a [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
2013-08-14 15:24:58 +00:00

4 lines
72 B
Python

# RUN: true
# Here is a string that cannot be decoded in line mode: Â.