[PATCH] D14706: [lit] Implement support of per test timeout in lit.

Dan Liew via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 20 14:32:31 PST 2015


delcypher updated the summary for this revision.
delcypher updated this revision to Diff 40831.
delcypher marked an inline comment as done.
delcypher added a comment.

- Made lit output more useful (when -v is passed) when a timeout occurs, the exit code, stdout and stderr are now shown. If using the internal shell it also indicated which command(s) were killed by the timeout.
- Improve tests to check for the improved output from lit when a timeout occurs.


http://reviews.llvm.org/D14706

Files:
  utils/lit/lit/LitConfig.py
  utils/lit/lit/Test.py
  utils/lit/lit/TestRunner.py
  utils/lit/lit/formats/googletest.py
  utils/lit/lit/main.py
  utils/lit/lit/util.py
  utils/lit/tests/Inputs/googletest-timeout/DummySubDir/OneTest
  utils/lit/tests/Inputs/googletest-timeout/lit.cfg
  utils/lit/tests/Inputs/shtest-timeout/infinite_loop.py
  utils/lit/tests/Inputs/shtest-timeout/lit.cfg
  utils/lit/tests/Inputs/shtest-timeout/quick_then_slow.py
  utils/lit/tests/Inputs/shtest-timeout/short.py
  utils/lit/tests/Inputs/shtest-timeout/slow.py
  utils/lit/tests/googletest-timeout.py
  utils/lit/tests/lit.cfg
  utils/lit/tests/shtest-timeout.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14706.40831.patch
Type: text/x-patch
Size: 31211 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151120/e5b83961/attachment.bin>


More information about the llvm-commits mailing list