summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2016-01-18 15:01:14 +0000
committerPavel Labath <labath@google.com>2016-01-18 15:01:14 +0000
commitbace94eda8f21212c7f5abf4670e25ecbf9df8cf (patch)
tree030ac3d8c1c5cfdea8b11b988eca0df4ef4c3541 /lldb/packages/Python
parent4da73573abb6834ff7a7748c8384bd25f5036b2f (diff)
downloadbcm5719-llvm-bace94eda8f21212c7f5abf4670e25ecbf9df8cf.tar.gz
bcm5719-llvm-bace94eda8f21212c7f5abf4670e25ecbf9df8cf.zip
Remove skipIfLinuxClang decorator
it isn't used in the code anymore, and we're trying to cut down on the decorators. llvm-svn: 258049
Diffstat (limited to 'lldb/packages/Python')
-rw-r--r--lldb/packages/Python/lldbsuite/test/lldbtest.py18
1 files changed, 0 insertions, 18 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/lldbtest.py b/lldb/packages/Python/lldbsuite/test/lldbtest.py
index 8a66cbe7726..63be1809c14 100644
--- a/lldb/packages/Python/lldbsuite/test/lldbtest.py
+++ b/lldb/packages/Python/lldbsuite/test/lldbtest.py
@@ -1056,24 +1056,6 @@ def skipUnlessPlatform(oslist):
return unittest2.skipUnless(getPlatform() in oslist,
"requires on of %s" % (", ".join(oslist)))
-def skipIfLinuxClang(func):
- """Decorate the item to skip tests that should be skipped if building on
- Linux with clang.
- """
- if isinstance(func, type) and issubclass(func, unittest2.TestCase):
- raise Exception("@skipIfLinuxClang can only be used to decorate a test method")
- @wraps(func)
- def wrapper(*args, **kwargs):
- from unittest2 import case
- self = args[0]
- compiler = self.getCompiler()
- platform = self.getPlatform()
- if "clang" in compiler and platform == "linux":
- self.skipTest("skipping because Clang is used on Linux")
- else:
- func(*args, **kwargs)
- return wrapper
-
# provide a function to skip on defined oslist, compiler version, and archs
# if none is specified for any argument, that argument won't be checked and thus means for all
# for example,
OpenPOWER on IntegriCloud