lit: Add internal script execution.
authorDaniel Dunbar <daniel@zuster.org>
Sat, 1 Aug 2009 10:18:01 +0000 (10:18 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Sat, 1 Aug 2009 10:18:01 +0000 (10:18 +0000)
commit590c3586817f78ed76494aa6f9f0c227d4249a8d
tree740c0dbb47f510117feaf71748d993cf0daeff48
parent82fa6f5e9deff3ba845b22c5fe301fe91cc53cca
lit: Add internal script execution.
 - Off by default, you can test it with the --no-sh argument.

 - For me it works for all but 3 tests, but there a number of FIXMEs and QOI
   issues:
     o Redirection isn't completely accurate -- in practice it can't portably
       be, but I would like to error out if someone writes something which isn't
       going to work. This is the source of the 3 test failures.

     o Some pipe configurations have the potential to deadlock.

     o It is significantly slower when multithreaded. I believe this is due to
       locking happening under the hood, there is probably some kind of solution
       but I haven't investigated yet.

     o Log output is ugly.

llvm-svn: 77784
clang/utils/test/MultiTestRunner.py
clang/utils/test/TestRunner.py
clang/utils/test/TestingConfig.py