summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite
diff options
context:
space:
mode:
authorSean Callanan <scallanan@apple.com>2016-04-15 00:44:59 +0000
committerSean Callanan <scallanan@apple.com>2016-04-15 00:44:59 +0000
commit91de55f16128fcf51663a648bbd02e7e89cf3ba6 (patch)
tree8ba643ed255d51259ffbfb4858b606ae3c757985 /lldb/packages/Python/lldbsuite
parentcf63b64fc645406939abdec1d8879c8bc8f24d0d (diff)
downloadbcm5719-llvm-91de55f16128fcf51663a648bbd02e7e89cf3ba6.tar.gz
bcm5719-llvm-91de55f16128fcf51663a648bbd02e7e89cf3ba6.zip
Blocks are only reliably supported on Darwin. Disable the test otherwise.
llvm-svn: 266400
Diffstat (limited to 'lldb/packages/Python/lldbsuite')
-rw-r--r--lldb/packages/Python/lldbsuite/test/lang/c/blocks/TestBlocks.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/lang/c/blocks/TestBlocks.py b/lldb/packages/Python/lldbsuite/test/lang/c/blocks/TestBlocks.py
index c5805f40d2a..c1099c37ee7 100644
--- a/lldb/packages/Python/lldbsuite/test/lang/c/blocks/TestBlocks.py
+++ b/lldb/packages/Python/lldbsuite/test/lang/c/blocks/TestBlocks.py
@@ -8,6 +8,7 @@ import unittest2
import os, time
import lldb
from lldbsuite.test.lldbtest import *
+from lldbsuite.test.decorators import *
import lldbsuite.test.lldbutil as lldbutil
class BlocksTestCase(TestBase):
@@ -36,6 +37,7 @@ class BlocksTestCase(TestBase):
self.wait_for_breakpoint()
@unittest2.expectedFailure("rdar://problem/10413887 - Call blocks in expressions")
+ @skipUnlessDarwin
def test_expr(self):
self.launch_common()
@@ -51,6 +53,7 @@ class BlocksTestCase(TestBase):
self.expect("expression (int)neg (-12)", VARIABLES_DISPLAYED_CORRECTLY,
substrs = ["= 12"])
+ @skipUnlessDarwin
def test_define(self):
self.launch_common()
OpenPOWER on IntegriCloud