Teach Lit to catch OSError exceptions when creating a process during the
authorDan Liew <dan@su-root.co.uk>
Mon, 20 Oct 2014 20:14:28 +0000 (20:14 +0000)
committerDan Liew <dan@su-root.co.uk>
Mon, 20 Oct 2014 20:14:28 +0000 (20:14 +0000)
commit2f9e28c84fa706589d27925cf18c3d487e6dda90
treece4c6da249a3550c85ea3afd873029bc37ef47f9
parent63350417e19b3f062a89f44214bc6a70613f7682
Teach Lit to catch OSError exceptions when creating a process during the
execution of a shell command. This can happen for example if the
``RUN:`` line calls a python script which can work correctly under
Linux/OSX but will not work under Windows. A more useful error message
is now shown rather than an unhelpful backtrace.

llvm-svn: 220227
llvm/utils/lit/lit/TestRunner.py