summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/lang/cpp/limit-debug-info
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2016-02-08 19:35:18 +0000
committerZachary Turner <zturner@google.com>2016-02-08 19:35:18 +0000
commit2e887acea8e17fb559842c904e2db72dd3815126 (patch)
tree6f892bb1ea18c4d337af8082355fe841bb02d74d /lldb/packages/Python/lldbsuite/test/lang/cpp/limit-debug-info
parent4a289a93f733b9eafb85cd60dad7b0c24e2f51e4 (diff)
downloadbcm5719-llvm-2e887acea8e17fb559842c904e2db72dd3815126.tar.gz
bcm5719-llvm-2e887acea8e17fb559842c904e2db72dd3815126.zip
A number of improvements to decorator conditionals.
* Change the `not_in` function to be called `no_match`. This makes it clear that keyword arguments can be more than just lists. * Change the name of `_check_list_or_lambda` to `_match_decorator_property`. Again clarifying that decorator params are not always lists. * Always use a regex match when matching strings. This allows automatic support for regex matching on all decorator properties. Also support compiled regex values. * Fix a bug in the compiler check used by _decorateTest. The two arguments were reversed, the condition was always wrong. * Change one test that uses skipUnlessArch to use skipIf, to demonstrate that skipIf can now handle more scenarios. Differential Revision: http://reviews.llvm.org/D16938 llvm-svn: 260135
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lang/cpp/limit-debug-info')
-rw-r--r--lldb/packages/Python/lldbsuite/test/lang/cpp/limit-debug-info/TestWithLimitDebugInfo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/lang/cpp/limit-debug-info/TestWithLimitDebugInfo.py b/lldb/packages/Python/lldbsuite/test/lang/cpp/limit-debug-info/TestWithLimitDebugInfo.py
index e6051ec53e5..9d4d1b54a9d 100644
--- a/lldb/packages/Python/lldbsuite/test/lang/cpp/limit-debug-info/TestWithLimitDebugInfo.py
+++ b/lldb/packages/Python/lldbsuite/test/lang/cpp/limit-debug-info/TestWithLimitDebugInfo.py
@@ -7,7 +7,7 @@ class TestWithLimitDebugInfo(TestBase):
mydir = TestBase.compute_mydir(__file__)
- @skipIf(debug_info=not_in(["dwarf"]))
+ @skipIf(debug_info=no_match(["dwarf"]))
def test_limit_debug_info(self):
self.build()
OpenPOWER on IntegriCloud