llvm-project/llvm/utils/lit/tests/Inputs
Reid Kleckner 578c36d952 [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
..
discovery
exec-discovery
exec-discovery-in-tree
googletest-format
googletest-timeout
googletest-upstream-format
progress-bar
shtest-format Reinstate "r292904 - [lit] Allow boolean expressions in REQUIRES and XFAIL 2017-01-25 02:26:03 +00:00
shtest-output-printing [lit] Improve logging with file redirection. 2016-06-07 16:13:40 +00:00
shtest-shell
shtest-timeout [lit] Remove unused imports (NFC) 2016-10-03 04:48:18 +00:00
test-data [lit] Implement timeouts and max_time for process pool testing 2017-04-06 00:38:28 +00:00
testrunner-custom-parsers [lit] Support custom parsers in parseIntegratedTestScript 2016-12-05 20:21:21 +00:00
unittest-adaptor