diff options
author | Daniel Dunbar <daniel@zuster.org> | 2013-08-09 00:37:15 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2013-08-09 00:37:15 +0000 |
commit | 128ce319ec47c46dc7da16aa3a75185899878745 (patch) | |
tree | db62863e5742435e579ab8ee3008afb148cc4163 /utils/lit/lit/TestRunner.py | |
parent | 38649827c38a4fcb93219eb29e104c91b0228e56 (diff) | |
download | external_llvm-128ce319ec47c46dc7da16aa3a75185899878745.zip external_llvm-128ce319ec47c46dc7da16aa3a75185899878745.tar.gz external_llvm-128ce319ec47c46dc7da16aa3a75185899878745.tar.bz2 |
[lit] Rename lit.{TestFormats,Util} to their aliased names {formats,util}.
- With compatibility hack in lit.__init__, so this hopefully shouldn't break
anything.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188040 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/lit/lit/TestRunner.py')
-rw-r--r-- | utils/lit/lit/TestRunner.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/lit/lit/TestRunner.py b/utils/lit/lit/TestRunner.py index 27e29b7..8929c0b 100644 --- a/utils/lit/lit/TestRunner.py +++ b/utils/lit/lit/TestRunner.py @@ -10,7 +10,7 @@ except ImportError: import lit.ShUtil as ShUtil import lit.Test as Test -import lit.Util as Util +import lit.util class InternalShellError(Exception): def __init__(self, command, message): @@ -154,7 +154,7 @@ def executeShCmd(cmd, cfg, cwd, results): # Resolve the executable path ourselves. args = list(j.args) - args[0] = Util.which(args[0], cfg.environment['PATH']) + args[0] = lit.util.which(args[0], cfg.environment['PATH']) if not args[0]: raise InternalShellError(j, '%r: command not found' % j.args[0]) @@ -472,7 +472,7 @@ def executeShTest(test, litConfig, useExternalSh, return (Test.PASS, '') # Create the output directory if it does not already exist. - Util.mkdir_p(os.path.dirname(tmpBase)) + lit.util.mkdir_p(os.path.dirname(tmpBase)) if useExternalSh: res = executeScript(test, litConfig, tmpBase, script, execdir) |