mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-12 23:40:43 +00:00
[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
This commit is contained in:
parent
4981a6ca97
commit
a5e463ea5f
@ -18,15 +18,6 @@ class LitConfig:
|
|||||||
easily.
|
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,
|
def __init__(self, progname, path, quiet,
|
||||||
useValgrind, valgrindLeakCheck, valgrindArgs,
|
useValgrind, valgrindLeakCheck, valgrindArgs,
|
||||||
noExecute, debug, isWindows,
|
noExecute, debug, isWindows,
|
||||||
|
@ -74,7 +74,6 @@ class TestingConfig:
|
|||||||
# Execute the config script to initialize the object.
|
# Execute the config script to initialize the object.
|
||||||
cfg_globals = dict(globals())
|
cfg_globals = dict(globals())
|
||||||
cfg_globals['config'] = self
|
cfg_globals['config'] = self
|
||||||
cfg_globals['lit'] = litConfig
|
|
||||||
cfg_globals['lit_config'] = litConfig
|
cfg_globals['lit_config'] = litConfig
|
||||||
cfg_globals['__file__'] = path
|
cfg_globals['__file__'] = path
|
||||||
try:
|
try:
|
||||||
|
@ -9,7 +9,3 @@ __versioninfo__ = (0, 3, 0)
|
|||||||
__version__ = '.'.join(str(v) for v in __versioninfo__) + 'dev'
|
__version__ = '.'.join(str(v) for v in __versioninfo__) + 'dev'
|
||||||
|
|
||||||
__all__ = []
|
__all__ = []
|
||||||
|
|
||||||
# Compatibility hacks for old names.
|
|
||||||
from . import util as Util
|
|
||||||
from . import formats as TestFormats
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user