diff options
author | Daniel Dunbar <daniel@zuster.org> | 2013-08-14 05:07:16 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2013-08-14 05:07:16 +0000 |
commit | af5a9e3f1e5f89836c8af6aab274d726170deb8b (patch) | |
tree | b7de6f395a0f9daa0687d7ed9f79326f6f564b9f /utils/lit | |
parent | 213ab86ee6d51a27ec87ed8320c6b8407dd25595 (diff) | |
download | external_llvm-af5a9e3f1e5f89836c8af6aab274d726170deb8b.zip external_llvm-af5a9e3f1e5f89836c8af6aab274d726170deb8b.tar.gz external_llvm-af5a9e3f1e5f89836c8af6aab274d726170deb8b.tar.bz2 |
[lit] Fix a relative import issue I missed earlier.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188360 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/lit')
-rw-r--r-- | utils/lit/lit/LitTestCase.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/utils/lit/lit/LitTestCase.py b/utils/lit/lit/LitTestCase.py index 8951185..478dbae 100644 --- a/utils/lit/lit/LitTestCase.py +++ b/utils/lit/lit/LitTestCase.py @@ -1,5 +1,7 @@ +from __future__ import absolute_import import unittest -import Test + +import lit.Test """ TestCase adaptor for providing a 'unittest' compatible interface to 'lit' tests. @@ -24,7 +26,7 @@ class LitTestCase(unittest.TestCase): tr, output = self._test.config.test_format.execute( self._test, self._lit_config) - if tr is Test.UNRESOLVED: + if tr is lit.Test.UNRESOLVED: raise UnresolvedError(output) elif tr.isFailure: self.fail(output) |