[test] Use lit's shell test runner on Windows
authorReid Kleckner <reid@kleckner.net>
Wed, 10 Apr 2013 13:11:38 +0000 (13:11 +0000)
committerReid Kleckner <reid@kleckner.net>
Wed, 10 Apr 2013 13:11:38 +0000 (13:11 +0000)
commit3ca3fc563255eff0251f2d92ed44ffedaf8d5dd7
tree37d73cd483d49b80dd5bc7f775d034355c0d738b
parent7ef742dca17ee5971af94cda040f545cdd3464b2
[test] Use lit's shell test runner on Windows

Summary:
I did a local comparison between using bash and using lit's runner, and
more of the suite passes with lit than passes with bash.  Most of the
bash failures have to do with /dev/null, which is nonsensical on
Windows, but the lit runner handles it.

The lit shell runner is also much faster than bash, so I would expect
most Windows devs would want it by default.

The behavior can be overridden on any OS by setting
LIT_USE_INTERNAL_SHELL to 0 or 1 in the environment.

Reviewers: chapuni, ddunbar

CC: llvm-commits, timurrrr
Differential Revision: http://llvm-reviews.chandlerc.com/D559

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179173 91177308-0d34-0410-b5e6-96231b3b80d8
test/lit.cfg