summaryrefslogtreecommitdiffstats
path: root/llvm/utils/lit/tests/shtest-encoding.py
Commit message (Collapse)AuthorAgeFilesLines
* [lit] Support parsing scripts with inconsistent or invalid encodings.Daniel Dunbar2013-08-141-0/+3
| | | | | | | | | | | | - 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. - This patch has been tweaked to now ensure that the command strings are not of unicode type on Python 2.6-7. llvm-svn: 188398
* Revert r188376, "[lit] Support parsing scripts with inconsistent or invalid ↵Daniel Dunbar2013-08-141-3/+0
| | | | | | encodings.", this doesn't work yet for bots using the internal shell. llvm-svn: 188379
* [lit] Support parsing scripts with inconsistent or invalid encodings.Daniel Dunbar2013-08-141-0/+3
- 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
OpenPOWER on IntegriCloud