[llvm] r188108 - [lit] Drop deprecated aliases for lit and old module names.
Daniel Dunbar
daniel at zuster.org
Fri Aug 9 14:39:24 PDT 2013
Author: ddunbar
Date: Fri Aug 9 16:39:24 2013
New Revision: 188108
URL: http://llvm.org/viewvc/llvm-project?rev=188108&view=rev
Log:
[lit] Drop deprecated aliases for lit and old module names.
Modified:
llvm/trunk/utils/lit/lit/LitConfig.py
llvm/trunk/utils/lit/lit/TestingConfig.py
llvm/trunk/utils/lit/lit/__init__.py
Modified: llvm/trunk/utils/lit/lit/LitConfig.py
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/lit/lit/LitConfig.py?rev=188108&r1=188107&r2=188108&view=diff
==============================================================================
--- llvm/trunk/utils/lit/lit/LitConfig.py (original)
+++ llvm/trunk/utils/lit/lit/LitConfig.py Fri Aug 9 16:39:24 2013
@@ -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,
Modified: llvm/trunk/utils/lit/lit/TestingConfig.py
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/lit/lit/TestingConfig.py?rev=188108&r1=188107&r2=188108&view=diff
==============================================================================
--- llvm/trunk/utils/lit/lit/TestingConfig.py (original)
+++ llvm/trunk/utils/lit/lit/TestingConfig.py Fri Aug 9 16:39:24 2013
@@ -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:
Modified: llvm/trunk/utils/lit/lit/__init__.py
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/lit/lit/__init__.py?rev=188108&r1=188107&r2=188108&view=diff
==============================================================================
--- llvm/trunk/utils/lit/lit/__init__.py (original)
+++ llvm/trunk/utils/lit/lit/__init__.py Fri Aug 9 16:39:24 2013
@@ -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
More information about the llvm-commits
mailing list