summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/thread/main2.cpp
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2015-11-06 18:14:42 +0000
committerZachary Turner <zturner@google.com>2015-11-06 18:14:42 +0000
commit5cb8e67b1790cb255fb3ed4f6c462c7632813c62 (patch)
tree6da7863cbc13e4df6070cc89886258050769af1b /lldb/packages/Python/lldbsuite/test/python_api/thread/main2.cpp
parentf0c3f68e33c2100d3a298e9bd20f523392a90c61 (diff)
downloadbcm5719-llvm-5cb8e67b1790cb255fb3ed4f6c462c7632813c62.tar.gz
bcm5719-llvm-5cb8e67b1790cb255fb3ed4f6c462c7632813c62.zip
Don't use module internal implementation details in our decorators.
We tried implementing something akin to a conditionalExpectedFailure decorator for unittest2. We did this by making use of some implementation details of the unittest2 module. In an effort to make this work with unittest, this patch removes the reliance on the implementation details. I have a hard time wrapping my head around how this all works with the deeply nested decorators, but the spirit of the patch here is to do do the following: If the condition function is true, use the original unittest2.expectedFailure decorator. Otherwise don't use any decorator, just call the test function. Differential Revision: http://reviews.llvm.org/D14406 Reviewed By: tberghammer, labath llvm-svn: 252326
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/thread/main2.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud