| Index: third_party/lit/lit/formats/shtest.py
|
| diff --git a/third_party/lit/lit/formats/shtest.py b/third_party/lit/lit/formats/shtest.py
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..30a6a3310b011b1385700366e44119693b17e077
|
| --- /dev/null
|
| +++ b/third_party/lit/lit/formats/shtest.py
|
| @@ -0,0 +1,12 @@
|
| +from __future__ import absolute_import
|
| +
|
| +import lit.TestRunner
|
| +from .base import FileBasedTest
|
| +
|
| +class ShTest(FileBasedTest):
|
| + def __init__(self, execute_external = False):
|
| + self.execute_external = execute_external
|
| +
|
| + def execute(self, test, litConfig):
|
| + return lit.TestRunner.executeShTest(test, litConfig,
|
| + self.execute_external)
|
|
|