aboutsummaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2013-08-09 21:39:24 +0000
committerDaniel Dunbar <daniel@zuster.org>2013-08-09 21:39:24 +0000
commita5e463ea5fa7f671cf029b420bc2f375b8e71fba (patch)
treeb4e30e20496a643b0702cb508f4ecec4a5613c5c /utils
parent4981a6ca97aac2b5a491895cdfd87c44f98bd7a0 (diff)
downloadexternal_llvm-a5e463ea5fa7f671cf029b420bc2f375b8e71fba.zip
external_llvm-a5e463ea5fa7f671cf029b420bc2f375b8e71fba.tar.gz
external_llvm-a5e463ea5fa7f671cf029b420bc2f375b8e71fba.tar.bz2
[lit] Drop deprecated aliases for lit and old module names.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188108 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rw-r--r--utils/lit/lit/LitConfig.py9
-rw-r--r--utils/lit/lit/TestingConfig.py1
-rw-r--r--utils/lit/lit/__init__.py4
3 files changed, 0 insertions, 14 deletions
diff --git a/utils/lit/lit/LitConfig.py b/utils/lit/lit/LitConfig.py
index 4b312e2..ed75e34 100644
--- a/utils/lit/lit/LitConfig.py
+++ b/utils/lit/lit/LitConfig.py
@@ -18,15 +18,6 @@ class LitConfig:
easily.
"""
- # Provide access to Test module.
- Test = lit.Test
-
- # Provide access to built-in formats.
- formats = lit.formats
-
- # Provide access to built-in utility functions.
- util = lit.util
-
def __init__(self, progname, path, quiet,
useValgrind, valgrindLeakCheck, valgrindArgs,
noExecute, debug, isWindows,
diff --git a/utils/lit/lit/TestingConfig.py b/utils/lit/lit/TestingConfig.py
index 1fd94b8..3f198c6 100644
--- a/utils/lit/lit/TestingConfig.py
+++ b/utils/lit/lit/TestingConfig.py
@@ -74,7 +74,6 @@ class TestingConfig:
# Execute the config script to initialize the object.
cfg_globals = dict(globals())
cfg_globals['config'] = self
- cfg_globals['lit'] = litConfig
cfg_globals['lit_config'] = litConfig
cfg_globals['__file__'] = path
try:
diff --git a/utils/lit/lit/__init__.py b/utils/lit/lit/__init__.py
index 7b39cc5..3967fdd 100644
--- a/utils/lit/lit/__init__.py
+++ b/utils/lit/lit/__init__.py
@@ -9,7 +9,3 @@ __versioninfo__ = (0, 3, 0)
__version__ = '.'.join(str(v) for v in __versioninfo__) + 'dev'
__all__ = []
-
-# Compatibility hacks for old names.
-from . import util as Util
-from . import formats as TestFormats