aboutsummaryrefslogtreecommitdiff
path: root/utils/lit/ShTest.py
diff options
context:
space:
mode:
Diffstat (limited to 'utils/lit/ShTest.py')
-rw-r--r--utils/lit/ShTest.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/utils/lit/ShTest.py b/utils/lit/ShTest.py
new file mode 100644
index 0000000000..fefdf7602b
--- /dev/null
+++ b/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)
+