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)
commit559074a285f52fb57d609fd2a27f6412739ae770
treed25fcaac0b8dc14156c995e698b8dc63cdc8879c
parent10646db916c8a623670e3c1829797e850f4de15d
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220227 91177308-0d34-0410-b5e6-96231b3b80d8
utils/lit/lit/TestRunner.py