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

Matthias Braun via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 4 20:55:08 PST 2015


MatzeB added a comment.

This is a good feature to have.

I think this implementation will not apply a timeout to the TestRunner.py:executeShCmd codepath (which seems to be a /bin/sh emulation for windows users).
The requirement of an external python package is unfortunate, what about things possible with built-in python libraries such as "os.kill(pid, signal.SIGKILL)" or "resource.setrlimit(resource.RLIMIT_CPU ...)"?


http://reviews.llvm.org/D14706





More information about the llvm-commits mailing list