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
..
2016-03-26 04:07:55 +00:00
2016-01-26 21:29:08 +00:00
2015-09-10 13:44:28 +00:00
2017-03-14 10:51:14 +00:00
2016-01-26 21:29:08 +00:00
2016-12-20 05:49:56 +00:00
2016-12-01 19:38:48 +00:00
2016-01-26 21:29:08 +00:00
2017-02-10 23:57:11 +00:00
2014-10-16 20:00:02 +00:00
2016-05-05 14:35:40 +00:00