Add 'lit' testing tool.

- make install && man $(llvm-config --prefix)/share/man/man1/lit.1 for more
   information.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81190 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Daniel Dunbar
2009-09-08 05:31:18 +00:00
parent 3fee6eda1d
commit be7ada7181
15 changed files with 2623 additions and 0 deletions

12
utils/lit/ShTest.py Normal file
View File

@ -0,0 +1,12 @@
import TestRunner
class ShTest:
def __init__(self, execute_external = False, require_and_and = False):
self.execute_external = execute_external
self.require_and_and = require_and_and
def execute(self, test, litConfig):
return TestRunner.executeShTest(test, litConfig,
self.execute_external,
self.require_and_and)