llvm-project/llvm/utils/lit/lit
Aaron Smith e5ee89c0d3 [lit] Fix several Python 2/3 compatibility issues and tests
- In Python 2.x, basestring is the base string type, but in 
  Python 3.x basestring is not defined and instead str includes 
  unicode strings.

- When Python is in a path that includes spaces, it needs to 
  be specified with quotes in the test files for it to run.

- The cache.ll test relies on files of a specific size being 
  created by Python, but on some versions of Windows the 
  files that are created by the current code are one byte 
  larger than expected. To fix the test, update file creation 
  to always make files of the expected size.

Patch by Stella Stamenova!

llvm-svn: 329466
2018-04-07 00:21:28 +00:00
..
ExampleTests.ObjDir
builtin_commands 'cat' command for internal shell - Support Python 3 2018-04-03 22:38:25 +00:00
formats [lit] Port googletest lit tests to Windows 2017-07-28 01:05:55 +00:00
llvm Remove "--full-shutdown" and instead use an environment variable LLD_IN_TEST. 2018-02-16 23:41:48 +00:00
BooleanExpression.py Reinstate "r292904 - [lit] Allow boolean expressions in REQUIRES and XFAIL 2017-01-25 02:26:03 +00:00
LitConfig.py [lit] Make lit support config files with .py extension. 2017-09-21 00:24:52 +00:00
LitTestCase.py
ProgressBar.py
ShCommands.py Use the current working directory in the glob expansion 2017-03-31 12:46:39 +00:00
ShUtil.py Teach lit to expand glob expressions. 2017-03-03 18:55:24 +00:00
Test.py [lit] - Allow 1 test to report multiple micro-test results to provide support for microbenchmarks. 2018-03-13 16:37:59 +00:00
TestRunner.py [lit] Fix several Python 2/3 compatibility issues and tests 2018-04-07 00:21:28 +00:00
TestingConfig.py utils: add a helper class to lit for captured substitutions 2018-03-09 00:06:10 +00:00
__init__.py [lit] Bump version number 2018-01-03 16:35:51 +00:00
discovery.py [lit] Actually do normalize the case of files in the config map. 2017-09-21 21:27:11 +00:00
main.py [lit] - Allow 1 test to report multiple micro-test results to provide support for microbenchmarks. 2018-03-13 16:37:59 +00:00
run.py [lit] Try to improve Ctrl-C behavior on Windows 2017-11-17 23:52:33 +00:00
util.py [lit] Improve tool substitution in lit. 2017-10-06 17:54:46 +00:00