1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-22 20:43:44 +02:00
llvm-mirror/utils/lit/tests
Reid Kleckner 5972ba002c [lit] Implement timeouts and max_time for process pool testing
This is necessary to pass the lit test suite at llvm/utils/lit/tests.

There are some pre-existing failures here, but now switching to pools
doesn't regress any tests.

I had to change test-data/lit.cfg to import DummyConfig from a module to
fix pickling problems, but I think it'll be OK if we require test
formats to be written in real .py modules outside lit.cfg files.

I also discovered that in some circumstances AsyncResult.wait() will not
raise KeyboardInterrupt in a timely manner, but you can pass a non-zero
timeout to work around this. This makes threading.Condition.wait use a
polling loop that runs through the interpreter, so it's capable of
asynchronously raising KeyboardInterrupt.

llvm-svn: 299605
2017-04-06 00:38:28 +00:00
..
Inputs [lit] Implement timeouts and max_time for process pool testing 2017-04-06 00:38:28 +00:00
unit lit: remove python2-isms 2017-03-22 04:23:01 +00:00
.coveragerc
boolean-parsing.py Reinstate "r292904 - [lit] Allow boolean expressions in REQUIRES and XFAIL 2017-01-25 02:26:03 +00:00
discovery.py [LIT] Fix discovery.py test once again 2015-07-21 04:25:13 +00:00
googletest-format.py
googletest-timeout.py [lit] Implement support of per test timeout in lit. 2015-12-27 14:03:49 +00:00
googletest-upstream-format.py [lit][googletest] Handle upstream gtest output 2016-03-31 18:22:55 +00:00
lit.cfg Revert "Teach the CMake build system to run lit's test suite. These can be run" 2016-01-09 21:42:57 +00:00
max-failures.py [lit] Add a --max-failures option. 2016-09-26 23:38:23 +00:00
progress-bar.py
selecting.py [lit] Support sharding testsuites, for parallel execution. 2017-01-18 18:12:20 +00:00
shell-parsing.py
shtest-encoding.py
shtest-format.py Reinstate "r292904 - [lit] Allow boolean expressions in REQUIRES and XFAIL 2017-01-25 02:26:03 +00:00
shtest-output-printing.py [lit] Improve logging with file redirection. 2016-06-07 16:13:40 +00:00
shtest-shell.py [lit] Improve logging with file redirection. 2016-06-07 16:13:40 +00:00
shtest-timeout.py [lit] Fix test shtest-timeout.py for modern output 2016-10-12 21:40:08 +00:00
test-data.py
test-output.py
unittest-adaptor.py
usage.py [lit] Use argparse instead of optparse 2016-10-03 22:12:42 +00:00
xunit-output.py