aboutsummaryrefslogtreecommitdiffstats
path: root/utils/lit
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-09-15 03:52:38 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-09-15 03:52:38 +0000
commitc2be84fd490d2e0a8de1731adf9c996ba15bba5c (patch)
tree7fd3542bc704185f62725c3b2b4198be43f58bb1 /utils/lit
parentff2dcd3ce94d2a982950e6c61a0eb1ae39c885e0 (diff)
downloadexternal_llvm-c2be84fd490d2e0a8de1731adf9c996ba15bba5c.zip
external_llvm-c2be84fd490d2e0a8de1731adf9c996ba15bba5c.tar.gz
external_llvm-c2be84fd490d2e0a8de1731adf9c996ba15bba5c.tar.bz2
lit: Expose FileBasedTest object and Test module via 'lit' object that gets
exposed to config files. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113923 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/lit')
-rw-r--r--utils/lit/lit/LitConfig.py3
-rw-r--r--utils/lit/lit/LitFormats.py1
2 files changed, 4 insertions, 0 deletions
diff --git a/utils/lit/lit/LitConfig.py b/utils/lit/lit/LitConfig.py
index ac48591..43ed6f1 100644
--- a/utils/lit/lit/LitConfig.py
+++ b/utils/lit/lit/LitConfig.py
@@ -8,6 +8,9 @@ class LitConfig:
easily.
"""
+ # Provide access to Test module.
+ import Test
+
# Provide access to built-in formats.
import LitFormats as formats
diff --git a/utils/lit/lit/LitFormats.py b/utils/lit/lit/LitFormats.py
index e86f103..931d107 100644
--- a/utils/lit/lit/LitFormats.py
+++ b/utils/lit/lit/LitFormats.py
@@ -1,2 +1,3 @@
+from TestFormats import FileBasedTest
from TestFormats import GoogleTest, ShTest, TclTest
from TestFormats import SyntaxCheckTest, OneCommandPerFileTest