diff options
| author | Daniel Dunbar <daniel@zuster.org> | 2009-09-08 05:31:18 +0000 |
|---|---|---|
| committer | Daniel Dunbar <daniel@zuster.org> | 2009-09-08 05:31:18 +0000 |
| commit | a213a427aa19260bb8145ea59f485ea01653c0bb (patch) | |
| tree | 723a0ecb29b8da189bd16362f99bdadf3809a8f0 /llvm/utils/lit/ShTest.py | |
| parent | ba7cdde020fc6e83d982d6f1743bcd1adf1a0f00 (diff) | |
| download | bcm5719-llvm-a213a427aa19260bb8145ea59f485ea01653c0bb.tar.gz bcm5719-llvm-a213a427aa19260bb8145ea59f485ea01653c0bb.zip | |
Add 'lit' testing tool.
- make install && man $(llvm-config --prefix)/share/man/man1/lit.1 for more
information.
llvm-svn: 81190
Diffstat (limited to 'llvm/utils/lit/ShTest.py')
| -rw-r--r-- | llvm/utils/lit/ShTest.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/llvm/utils/lit/ShTest.py b/llvm/utils/lit/ShTest.py new file mode 100644 index 00000000000..fefdf7602b2 --- /dev/null +++ b/llvm/utils/lit/ShTest.py @@ -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) + |

