summaryrefslogtreecommitdiffstats
path: root/lldb/test/expression_command/call-function/TestCallStdStringFunction.py
diff options
context:
space:
mode:
authorRobert Flack <flackr@gmail.com>2015-03-30 14:12:17 +0000
committerRobert Flack <flackr@gmail.com>2015-03-30 14:12:17 +0000
commit13c7ad9cd245fca52773ac47e53da1cb46b38320 (patch)
tree98bf6753d53607c6ddbc1faf7ea6d2d419b1a22b /lldb/test/expression_command/call-function/TestCallStdStringFunction.py
parentab6216d050a5c3191a9f0db8e2dde426a5876f9d (diff)
downloadbcm5719-llvm-13c7ad9cd245fca52773ac47e53da1cb46b38320.tar.gz
bcm5719-llvm-13c7ad9cd245fca52773ac47e53da1cb46b38320.zip
Replace sys.platform skips in tests with @skip decorators which check against remote platform.
Adds @skipIfPlatform and @skipUnlessPlatform decorators which will skip if / unless the target platform is in the provided platform list. Test Plan: ninja check-lldb shows no regressions. When running cross platform, tests which cannot run on the target platform are skipped. Differential Revision: http://reviews.llvm.org/D8665 llvm-svn: 233547
Diffstat (limited to 'lldb/test/expression_command/call-function/TestCallStdStringFunction.py')
-rw-r--r--lldb/test/expression_command/call-function/TestCallStdStringFunction.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/test/expression_command/call-function/TestCallStdStringFunction.py b/lldb/test/expression_command/call-function/TestCallStdStringFunction.py
index e7ebbe0e639..c36577a5413 100644
--- a/lldb/test/expression_command/call-function/TestCallStdStringFunction.py
+++ b/lldb/test/expression_command/call-function/TestCallStdStringFunction.py
@@ -18,7 +18,7 @@ class ExprCommandCallFunctionTestCase(TestBase):
self.line = line_number('main.cpp',
'// Please test these expressions while stopped at this line:')
- @unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
+ @skipUnlessDarwin
@dsym_test
@expectedFailureDarwin(16361880) # <rdar://problem/16361880>, we get the result correctly, but fail to invoke the Summary formatter.
def test_with_dsym(self):
OpenPOWER on IntegriCloud