From a213a427aa19260bb8145ea59f485ea01653c0bb Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Tue, 8 Sep 2009 05:31:18 +0000 Subject: Add 'lit' testing tool. - make install && man $(llvm-config --prefix)/share/man/man1/lit.1 for more information. llvm-svn: 81190 --- llvm/utils/lit/ShTest.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 llvm/utils/lit/ShTest.py (limited to 'llvm/utils/lit/ShTest.py') 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) + -- cgit v1.2.3