Author: spyffe Date: Thu Apr 14 19:44:59 2016 New Revision: 266400 URL: http://llvm.org/viewvc/llvm-project?rev=266400&view=rev Log: Blocks are only reliably supported on Darwin. Disable the test otherwise.
Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/c/blocks/TestBlocks.py Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/c/blocks/TestBlocks.py URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/c/blocks/TestBlocks.py?rev=266400&r1=266399&r2=266400&view=diff ============================================================================== --- lldb/trunk/packages/Python/lldbsuite/test/lang/c/blocks/TestBlocks.py (original) +++ lldb/trunk/packages/Python/lldbsuite/test/lang/c/blocks/TestBlocks.py Thu Apr 14 19:44:59 2016 @@ -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() _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits