forked from OSchip/llvm-project
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
This commit is contained in:
parent
ab6216d050
commit
13c7ad9cd2
|
@ -13,7 +13,7 @@ class TestBenchmarkContinue(BenchBase):
|
|||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
@benchmarks_test
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_with_dsym_and_run_command(self):
|
||||
"""Benchmark different ways to continue a process"""
|
||||
|
|
|
@ -15,7 +15,7 @@ class DriverBatchModeTest (TestBase):
|
|||
|
||||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@unittest2.expectedFailure("<rdar://problem/18684124>, lldb doesn't reliably print the prompt when run under pexpect")
|
||||
@dsym_test
|
||||
def test_driver_batch_mode_with_dsym(self):
|
||||
|
|
|
@ -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):
|
||||
|
|
|
@ -20,7 +20,7 @@ class ExprCommandCallStopContinueTestCase(TestBase):
|
|||
self.func_line = line_number ('main.cpp',
|
||||
'{ 5, "five" }')
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
@expectedFailureDarwin("llvm.org/pr20274") # intermittent failure on MacOSX
|
||||
def test_with_dsym(self):
|
||||
|
|
|
@ -19,7 +19,7 @@ class ExprCommandThatRestartsTestCase(TestBase):
|
|||
self.main_source_spec = lldb.SBFileSpec (self.main_source)
|
||||
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
@skipIfDarwin # llvm.org/pr19246: intermittent failure
|
||||
def test_with_dsym(self):
|
||||
|
|
|
@ -19,14 +19,14 @@ class ExprCommandWithThrowTestCase(TestBase):
|
|||
self.main_source_spec = lldb.SBFileSpec (self.main_source)
|
||||
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_with_dsym(self):
|
||||
"""Test calling a function that throws and ObjC exception."""
|
||||
self.buildDsym()
|
||||
self.call_function()
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin due to ObjC test case")
|
||||
@skipUnlessDarwin
|
||||
@dwarf_test
|
||||
def test_with_dwarf(self):
|
||||
"""Test calling a function that throws and ObjC exception."""
|
||||
|
|
|
@ -18,7 +18,7 @@ class ExprFormattersTestCase(TestBase):
|
|||
self.line = line_number('main.cpp',
|
||||
'// Stop here')
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_with_dsym(self):
|
||||
"""Test expr + formatters for good interoperability."""
|
||||
|
|
|
@ -17,14 +17,14 @@ class PersistObjCPointeeType(TestBase):
|
|||
# Find the line number to break for main.cpp.
|
||||
self.line = line_number('main.m','// break here')
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_with_dsym(self):
|
||||
"""Test that we can p *objcObject"""
|
||||
self.buildDsym()
|
||||
self.do_my_test()
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin due to ObjC test case")
|
||||
@skipUnlessDarwin
|
||||
@dwarf_test
|
||||
def test_with_dwarf(self):
|
||||
"""Test that we can p *objcObject"""
|
||||
|
|
|
@ -18,14 +18,14 @@ class PoVerbosityTestCase(TestBase):
|
|||
self.line = line_number('main.m',
|
||||
'// Stop here')
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_with_dsym(self):
|
||||
"""Test that the po command acts correctly."""
|
||||
self.buildDsym()
|
||||
self.do_my_test()
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin due to ObjC test case")
|
||||
@skipUnlessDarwin
|
||||
@dwarf_test
|
||||
def test_with_dwarf(self):
|
||||
"""Test that the po command acts correctly."""
|
||||
|
|
|
@ -19,7 +19,7 @@ class ExprCommandWithTimeoutsTestCase(TestBase):
|
|||
self.main_source_spec = lldb.SBFileSpec (self.main_source)
|
||||
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_with_dsym(self):
|
||||
"""Test calling std::String member function."""
|
||||
|
|
|
@ -20,14 +20,14 @@ class ObjCTypeQueryTestCase(TestBase):
|
|||
self.line = line_number('main.m',
|
||||
"// Set breakpoint here, then do 'expr (NSArray*)array_token'.")
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_with_dsym(self):
|
||||
"""The expression parser's type search should be wider than the current compilation unit."""
|
||||
self.buildDsym()
|
||||
self.type_query_from_other_cu()
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dwarf_test
|
||||
def test_with_dwarf(self):
|
||||
"""The expression parser's type search should be wider than the current compilation unit."""
|
||||
|
|
|
@ -13,7 +13,7 @@ class AbbreviationsTestCase(TestBase):
|
|||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
@expectedFailureFreeBSD("llvm.org/pr22611 thread race condition breaks prompt setting")
|
||||
@unittest2.skipIf(sys.platform.startswith("win32"), "one-shot script commands deadlock on Windows.")
|
||||
@skipIfWindows # one-shot script commands deadlock on Windows.
|
||||
def test_nonrunning_command_abbreviations (self):
|
||||
self.expect("ap script",
|
||||
startstr = "The following built-in commands may relate to 'script':",
|
||||
|
@ -78,7 +78,7 @@ class AbbreviationsTestCase(TestBase):
|
|||
self.runCmd (r'''sc print "\n\n\tHello!\n"''')
|
||||
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_with_dsym (self):
|
||||
self.buildDsym ()
|
||||
|
|
|
@ -13,7 +13,7 @@ class CommonShortSpellingsTestCase(TestBase):
|
|||
|
||||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_with_dsym (self):
|
||||
self.buildDsym ()
|
||||
|
|
|
@ -12,7 +12,7 @@ class AliasTestCase(TestBase):
|
|||
|
||||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_with_dsym (self):
|
||||
self.buildDsym ()
|
||||
|
|
|
@ -19,7 +19,7 @@ class AsanTestCase(TestBase):
|
|||
@dsym_test
|
||||
@skipIfRemote
|
||||
@skipUnlessCompilerRt
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
def test_with_dsym (self):
|
||||
compiler = self.findBuiltClang ()
|
||||
self.buildDsym (None, compiler)
|
||||
|
|
|
@ -20,7 +20,7 @@ class AsanTestReportDataCase(TestBase):
|
|||
@dsym_test
|
||||
@skipIfRemote
|
||||
@skipUnlessCompilerRt
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
def test_with_dsym (self):
|
||||
compiler = self.findBuiltClang ()
|
||||
self.buildDsym (None, compiler)
|
||||
|
|
|
@ -18,7 +18,7 @@ class BreakpointCommandTestCase(TestBase):
|
|||
cls.RemoveTempFile("output.txt")
|
||||
cls.RemoveTempFile("output2.txt")
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_with_dsym(self):
|
||||
"""Test a sequence of breakpoint command add, list, and delete."""
|
||||
|
|
|
@ -14,7 +14,7 @@ class PythonBreakpointCommandSettingTestCase(TestBase):
|
|||
mydir = TestBase.compute_mydir(__file__)
|
||||
my_var = 10
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@python_api_test
|
||||
@dsym_test
|
||||
def test_step_out_with_dsym_python(self):
|
||||
|
|
|
@ -12,7 +12,7 @@ class RegexpBreakCommandTestCase(TestBase):
|
|||
|
||||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_with_dsym(self):
|
||||
"""Test _regexp-break command."""
|
||||
|
|
|
@ -12,21 +12,21 @@ class BreakpointConditionsTestCase(TestBase):
|
|||
|
||||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_breakpoint_condition_with_dsym_and_run_command(self):
|
||||
"""Exercise breakpoint condition with 'breakpoint modify -c <expr> id'."""
|
||||
self.buildDsym()
|
||||
self.breakpoint_conditions()
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_breakpoint_condition_inline_with_dsym_and_run_command(self):
|
||||
"""Exercise breakpoint condition inline with 'breakpoint set'."""
|
||||
self.buildDsym()
|
||||
self.breakpoint_conditions(inline=True)
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@python_api_test
|
||||
@dsym_test
|
||||
def test_breakpoint_condition_with_dsym_and_python_api(self):
|
||||
|
@ -35,14 +35,14 @@ class BreakpointConditionsTestCase(TestBase):
|
|||
self.breakpoint_conditions_python()
|
||||
|
||||
@dwarf_test
|
||||
@unittest2.skipIf(sys.platform.startswith("win32"), "Requires EE to support COFF on Windows (http://llvm.org/pr22232)")
|
||||
@skipIfWindows # Requires EE to support COFF on Windows (http://llvm.org/pr22232)
|
||||
def test_breakpoint_condition_with_dwarf_and_run_command(self):
|
||||
"""Exercise breakpoint condition with 'breakpoint modify -c <expr> id'."""
|
||||
self.buildDwarf()
|
||||
self.breakpoint_conditions()
|
||||
|
||||
@dwarf_test
|
||||
@unittest2.skipIf(sys.platform.startswith("win32"), "Requires EE to support COFF on Windows (http://llvm.org/pr22232)")
|
||||
@skipIfWindows # Requires EE to support COFF on Windows (http://llvm.org/pr22232)
|
||||
def test_breakpoint_condition_inline_with_dwarf_and_run_command(self):
|
||||
"""Exercise breakpoint condition inline with 'breakpoint set'."""
|
||||
self.buildDwarf()
|
||||
|
@ -50,7 +50,7 @@ class BreakpointConditionsTestCase(TestBase):
|
|||
|
||||
@python_api_test
|
||||
@dwarf_test
|
||||
@unittest2.skipIf(sys.platform.startswith("win32"), "Requires EE to support COFF on Windows (http://llvm.org/pr22232)")
|
||||
@skipIfWindows # Requires EE to support COFF on Windows (http://llvm.org/pr22232)
|
||||
def test_breakpoint_condition_with_dwarf_and_python_api(self):
|
||||
"""Use Python APIs to set breakpoint conditions."""
|
||||
self.buildDwarf()
|
||||
|
|
|
@ -12,7 +12,7 @@ class BreakpointIDTestCase(TestBase):
|
|||
|
||||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_with_dsym (self):
|
||||
self.buildDsym ()
|
||||
|
|
|
@ -12,14 +12,14 @@ class BreakpointIgnoreCountTestCase(TestBase):
|
|||
|
||||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_with_dsym_and_run_command(self):
|
||||
"""Exercise breakpoint ignore count with 'breakpoint set -i <count>'."""
|
||||
self.buildDsym()
|
||||
self.breakpoint_ignore_count()
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@python_api_test
|
||||
@dsym_test
|
||||
def test_with_dsym_and_python_api(self):
|
||||
|
|
|
@ -12,7 +12,7 @@ class BreakpointLocationsTestCase(TestBase):
|
|||
|
||||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_with_dsym(self):
|
||||
"""Test breakpoint enable/disable for a breakpoint ID with multiple locations."""
|
||||
|
|
|
@ -12,7 +12,7 @@ class TestCPPBreakpoints(TestBase):
|
|||
|
||||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_with_dsym (self):
|
||||
self.buildDsym ()
|
||||
|
|
|
@ -14,7 +14,7 @@ class TestCPPExceptionBreakpoint (TestBase):
|
|||
mydir = TestBase.compute_mydir(__file__)
|
||||
my_var = 10
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@python_api_test
|
||||
@dsym_test
|
||||
def test_cpp_exception_breakpoint (self):
|
||||
|
|
|
@ -12,7 +12,7 @@ class BreakpointInDummyTarget (TestBase):
|
|||
|
||||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_with_dsym(self):
|
||||
"""Test breakpoint set before we have a target. """
|
||||
|
|
|
@ -14,7 +14,7 @@ class InlinedBreakpointsTestCase(TestBase):
|
|||
|
||||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_with_dsym_and_run_command(self):
|
||||
"""Test 'b basic_types.cpp:176' does break (where int.cpp includes basic_type.cpp)."""
|
||||
|
|
|
@ -11,7 +11,7 @@ import lldbutil
|
|||
import shutil
|
||||
import subprocess
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
class TestObjCBreakpoints(TestBase):
|
||||
|
||||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
|
|
@ -11,7 +11,7 @@ class CmdPythonTestCase(TestBase):
|
|||
|
||||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_with_dsym (self):
|
||||
self.buildDsym ()
|
||||
|
|
|
@ -17,7 +17,7 @@ class ConditionalBreakTestCase(TestBase):
|
|||
|
||||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@python_api_test
|
||||
@dsym_test
|
||||
def test_with_dsym_python(self):
|
||||
|
@ -32,7 +32,7 @@ class ConditionalBreakTestCase(TestBase):
|
|||
self.buildDwarf()
|
||||
self.do_conditional_break()
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_with_dsym_command(self):
|
||||
"""Simulate a user using lldb commands to break on c() if called from a()."""
|
||||
|
|
|
@ -12,7 +12,7 @@ class AdvDataFormatterTestCase(TestBase):
|
|||
|
||||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_with_dsym_and_run_command(self):
|
||||
"""Test data formatter commands."""
|
||||
|
|
|
@ -12,7 +12,7 @@ class CategoriesDataFormatterTestCase(TestBase):
|
|||
|
||||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_with_dsym_and_run_command(self):
|
||||
"""Test data formatter commands."""
|
||||
|
|
|
@ -12,7 +12,7 @@ class CppDataFormatterTestCase(TestBase):
|
|||
|
||||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_with_dsym_and_run_command(self):
|
||||
"""Test data formatter commands."""
|
||||
|
|
|
@ -12,7 +12,7 @@ class DataFormatterDisablingTestCase(TestBase):
|
|||
|
||||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_with_dsym_and_run_command(self):
|
||||
"""Test data formatter commands."""
|
||||
|
|
|
@ -12,7 +12,7 @@ class EnumFormatTestCase(TestBase):
|
|||
|
||||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_with_dsym_and_run_command(self):
|
||||
"""Test data formatter commands."""
|
||||
|
|
|
@ -12,7 +12,7 @@ class GlobalsDataFormatterTestCase(TestBase):
|
|||
|
||||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_with_dsym_and_run_command(self):
|
||||
"""Test data formatter commands."""
|
||||
|
|
|
@ -12,7 +12,7 @@ class NamedSummariesDataFormatterTestCase(TestBase):
|
|||
|
||||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_with_dsym_and_run_command(self):
|
||||
"""Test data formatter commands."""
|
||||
|
|
|
@ -14,14 +14,14 @@ class ObjCDataFormatterTestCase(TestBase):
|
|||
|
||||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_plain_objc_with_dsym_and_run_command(self):
|
||||
"""Test basic ObjC formatting behavior."""
|
||||
self.buildDsym()
|
||||
self.plain_data_formatter_commands()
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dwarf_test
|
||||
def test_plain_objc_with_dwarf_and_run_command(self):
|
||||
"""Test basic ObjC formatting behavior."""
|
||||
|
@ -33,186 +33,186 @@ class ObjCDataFormatterTestCase(TestBase):
|
|||
self.appkit_common_data_formatters_command()
|
||||
commands()
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_nsnumber_with_dsym_and_run_command(self):
|
||||
"""Test formatters for NSNumber."""
|
||||
self.appkit_tester_impl(self.buildDsym,self.nsnumber_data_formatter_commands)
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dwarf_test
|
||||
def test_nsnumber_with_dwarf_and_run_command(self):
|
||||
"""Test formatters for NSNumber."""
|
||||
self.appkit_tester_impl(self.buildDwarf,self.nsnumber_data_formatter_commands)
|
||||
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_nsstring_with_dsym_and_run_command(self):
|
||||
"""Test formatters for NSString."""
|
||||
self.appkit_tester_impl(self.buildDsym,self.nsstring_data_formatter_commands)
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dwarf_test
|
||||
def test_nsstring_with_dwarf_and_run_command(self):
|
||||
"""Test formatters for NSString."""
|
||||
self.appkit_tester_impl(self.buildDwarf,self.nsstring_data_formatter_commands)
|
||||
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_nscontainers_with_dsym_and_run_command(self):
|
||||
"""Test formatters for NS container classes."""
|
||||
self.appkit_tester_impl(self.buildDsym,self.nscontainers_data_formatter_commands)
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dwarf_test
|
||||
def test_nscontainers_with_dwarf_and_run_command(self):
|
||||
"""Test formatters for NS container classes."""
|
||||
self.appkit_tester_impl(self.buildDwarf,self.nscontainers_data_formatter_commands)
|
||||
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_nsdata_with_dsym_and_run_command(self):
|
||||
"""Test formatters for NSData."""
|
||||
self.appkit_tester_impl(self.buildDsym,self.nsdata_data_formatter_commands)
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dwarf_test
|
||||
def test_nsdata_with_dwarf_and_run_command(self):
|
||||
"""Test formatters for NSData."""
|
||||
self.appkit_tester_impl(self.buildDwarf,self.nsdata_data_formatter_commands)
|
||||
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_nsurl_with_dsym_and_run_command(self):
|
||||
"""Test formatters for NSURL."""
|
||||
self.appkit_tester_impl(self.buildDsym,self.nsurl_data_formatter_commands)
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dwarf_test
|
||||
def test_nsurl_with_dwarf_and_run_command(self):
|
||||
"""Test formatters for NSURL."""
|
||||
self.appkit_tester_impl(self.buildDwarf,self.nsurl_data_formatter_commands)
|
||||
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_nserror_with_dsym_and_run_command(self):
|
||||
"""Test formatters for NSError."""
|
||||
self.appkit_tester_impl(self.buildDsym,self.nserror_data_formatter_commands)
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dwarf_test
|
||||
def test_nserror_with_dwarf_and_run_command(self):
|
||||
"""Test formatters for NSError."""
|
||||
self.appkit_tester_impl(self.buildDwarf,self.nserror_data_formatter_commands)
|
||||
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_nsbundle_with_dsym_and_run_command(self):
|
||||
"""Test formatters for NSBundle."""
|
||||
self.appkit_tester_impl(self.buildDsym,self.nsbundle_data_formatter_commands)
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dwarf_test
|
||||
def test_nsbundle_with_dwarf_and_run_command(self):
|
||||
"""Test formatters for NSBundle."""
|
||||
self.appkit_tester_impl(self.buildDwarf,self.nsbundle_data_formatter_commands)
|
||||
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_nsexception_with_dsym_and_run_command(self):
|
||||
"""Test formatters for NSException."""
|
||||
self.appkit_tester_impl(self.buildDsym,self.nsexception_data_formatter_commands)
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dwarf_test
|
||||
def test_nsexception_with_dwarf_and_run_command(self):
|
||||
"""Test formatters for NSException."""
|
||||
self.appkit_tester_impl(self.buildDwarf,self.nsexception_data_formatter_commands)
|
||||
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_nsmisc_with_dsym_and_run_command(self):
|
||||
"""Test formatters for misc NS classes."""
|
||||
self.appkit_tester_impl(self.buildDsym,self.nsmisc_data_formatter_commands)
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dwarf_test
|
||||
def test_nsmisc_with_dwarf_and_run_command(self):
|
||||
"""Test formatters for misc NS classes."""
|
||||
self.appkit_tester_impl(self.buildDwarf,self.nsmisc_data_formatter_commands)
|
||||
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_nsdate_with_dsym_and_run_command(self):
|
||||
"""Test formatters for NSDate."""
|
||||
self.appkit_tester_impl(self.buildDsym,self.nsdate_data_formatter_commands)
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dwarf_test
|
||||
def test_nsdate_with_dwarf_and_run_command(self):
|
||||
"""Test formatters for NSDate."""
|
||||
self.appkit_tester_impl(self.buildDwarf,self.nsdate_data_formatter_commands)
|
||||
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_coreframeworks_with_dsym_and_run_command(self):
|
||||
"""Test formatters for Core OSX frameworks."""
|
||||
self.buildDsym()
|
||||
self.cf_data_formatter_commands()
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dwarf_test
|
||||
def test_coreframeworks_with_dwarf_and_run_command(self):
|
||||
"""Test formatters for Core OSX frameworks."""
|
||||
self.buildDwarf()
|
||||
self.cf_data_formatter_commands()
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_kvo_with_dsym_and_run_command(self):
|
||||
"""Test the behavior of formatters when KVO is in use."""
|
||||
self.buildDsym()
|
||||
self.kvo_data_formatter_commands()
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dwarf_test
|
||||
def test_kvo_with_dwarf_and_run_command(self):
|
||||
"""Test the behavior of formatters when KVO is in use."""
|
||||
self.buildDwarf()
|
||||
self.kvo_data_formatter_commands()
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_rdar11106605_with_dsym_and_run_command(self):
|
||||
"""Check that Unicode characters come out of CFString summary correctly."""
|
||||
self.buildDsym()
|
||||
self.rdar11106605_commands()
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dwarf_test
|
||||
def test_rdar11106605_with_dwarf_and_run_command(self):
|
||||
"""Check that Unicode characters come out of CFString summary correctly."""
|
||||
self.buildDwarf()
|
||||
self.rdar11106605_commands()
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_expr_with_dsym_and_run_command(self):
|
||||
"""Test common cases of expression parser <--> formatters interaction."""
|
||||
self.buildDsym()
|
||||
self.expr_objc_data_formatter_commands()
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dwarf_test
|
||||
def test_expr_with_dwarf_and_run_command(self):
|
||||
"""Test common cases of expression parser <--> formatters interaction."""
|
||||
|
|
|
@ -12,7 +12,7 @@ class PythonSynthDataFormatterTestCase(TestBase):
|
|||
|
||||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_with_dsym_and_run_command(self):
|
||||
"""Test data formatter commands."""
|
||||
|
@ -26,7 +26,7 @@ class PythonSynthDataFormatterTestCase(TestBase):
|
|||
self.buildDwarf()
|
||||
self.data_formatter_commands()
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_rdar10960550_with_dsym_and_run_command(self):
|
||||
"""Test data formatter commands."""
|
||||
|
|
|
@ -12,7 +12,7 @@ class ScriptDataFormatterTestCase(TestBase):
|
|||
|
||||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_with_dsym_and_run_command(self):
|
||||
"""Test data formatter commands."""
|
||||
|
|
|
@ -12,7 +12,7 @@ class SkipSummaryDataFormatterTestCase(TestBase):
|
|||
|
||||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_with_dsym_and_run_command(self):
|
||||
"""Test data formatter commands."""
|
||||
|
|
|
@ -12,7 +12,7 @@ class SmartArrayDataFormatterTestCase(TestBase):
|
|||
|
||||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_with_dsym_and_run_command(self):
|
||||
"""Test data formatter commands."""
|
||||
|
|
|
@ -12,7 +12,7 @@ class LibcxxIteratorDataFormatterTestCase(TestBase):
|
|||
|
||||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_with_dsym_and_run_command(self):
|
||||
"""Test data formatter commands."""
|
||||
|
|
|
@ -12,7 +12,7 @@ class LibcxxListDataFormatterTestCase(TestBase):
|
|||
|
||||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_with_dsym_and_run_command(self):
|
||||
"""Test data formatter commands."""
|
||||
|
|
|
@ -12,7 +12,7 @@ class LibcxxMapDataFormatterTestCase(TestBase):
|
|||
|
||||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_with_dsym_and_run_command(self):
|
||||
"""Test data formatter commands."""
|
||||
|
|
|
@ -12,7 +12,7 @@ class LibcxxMultiMapDataFormatterTestCase(TestBase):
|
|||
|
||||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_with_dsym_and_run_command(self):
|
||||
"""Test data formatter commands."""
|
||||
|
|
|
@ -12,7 +12,7 @@ class LibcxxMultiSetDataFormatterTestCase(TestBase):
|
|||
|
||||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_with_dsym_and_run_command(self):
|
||||
"""Test data formatter commands."""
|
||||
|
|
|
@ -12,7 +12,7 @@ class LibcxxSetDataFormatterTestCase(TestBase):
|
|||
|
||||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_with_dsym_and_run_command(self):
|
||||
"""Test data formatter commands."""
|
||||
|
|
|
@ -13,7 +13,7 @@ class LibcxxStringDataFormatterTestCase(TestBase):
|
|||
|
||||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_with_dsym_and_run_command(self):
|
||||
"""Test data formatter commands."""
|
||||
|
|
|
@ -12,7 +12,7 @@ class LibcxxMultiMapDataFormatterTestCase(TestBase):
|
|||
|
||||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_with_dsym_and_run_command(self):
|
||||
"""Test data formatter commands."""
|
||||
|
|
|
@ -12,7 +12,7 @@ class LibcxxVBoolDataFormatterTestCase(TestBase):
|
|||
|
||||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_with_dsym_and_run_command(self):
|
||||
"""Test data formatter commands."""
|
||||
|
|
|
@ -12,7 +12,7 @@ class LibcxxVectorDataFormatterTestCase(TestBase):
|
|||
|
||||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_with_dsym_and_run_command(self):
|
||||
"""Test data formatter commands."""
|
||||
|
|
|
@ -12,7 +12,7 @@ class StdIteratorDataFormatterTestCase(TestBase):
|
|||
|
||||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_with_dsym_and_run_command(self):
|
||||
"""Test data formatter commands."""
|
||||
|
|
|
@ -12,7 +12,7 @@ class StdListDataFormatterTestCase(TestBase):
|
|||
|
||||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_with_dsym_and_run_command(self):
|
||||
"""Test data formatter commands."""
|
||||
|
|
|
@ -12,7 +12,7 @@ class StdMapDataFormatterTestCase(TestBase):
|
|||
|
||||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_with_dsym_and_run_command(self):
|
||||
"""Test data formatter commands."""
|
||||
|
|
|
@ -13,7 +13,7 @@ class StdStringDataFormatterTestCase(TestBase):
|
|||
|
||||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_with_dsym_and_run_command(self):
|
||||
"""Test data formatter commands."""
|
||||
|
|
|
@ -12,7 +12,7 @@ class StdVBoolDataFormatterTestCase(TestBase):
|
|||
|
||||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
@skipIfDarwin
|
||||
def test_with_dsym_and_run_command(self):
|
||||
|
|
|
@ -12,7 +12,7 @@ class StdVectorDataFormatterTestCase(TestBase):
|
|||
|
||||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_with_dsym_and_run_command(self):
|
||||
"""Test data formatter commands."""
|
||||
|
|
|
@ -12,7 +12,7 @@ class SynthDataFormatterTestCase(TestBase):
|
|||
|
||||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_with_dsym_and_run_command(self):
|
||||
"""Test data formatter commands."""
|
||||
|
|
|
@ -12,7 +12,7 @@ class DataFormatterSynthValueTestCase(TestBase):
|
|||
|
||||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_with_dsym_and_run_command(self):
|
||||
"""Test using Python synthetic children provider to provide a value."""
|
||||
|
|
|
@ -13,7 +13,7 @@ class FormatPropagationTestCase(TestBase):
|
|||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
# rdar://problem/14035604
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_with_dsym_and_run_command(self):
|
||||
"""Check if changing Format on an SBValue correctly propagates that new format to children as it should"""
|
||||
|
|
|
@ -12,7 +12,7 @@ class FrameFormatSmallStructTestCase(TestBase):
|
|||
|
||||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_with_dsym_and_run_command(self):
|
||||
"""Test that the user can input a format but it will not prevail over summary format's choices."""
|
||||
|
|
|
@ -12,7 +12,7 @@ class PtrRef2TypedefTestCase(TestBase):
|
|||
|
||||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_with_dsym_and_run_command(self):
|
||||
"""Test data formatter commands."""
|
||||
|
|
|
@ -13,7 +13,7 @@ class Radar10449092DataFormatterTestCase(TestBase):
|
|||
# test for rdar://problem/10449092 ()
|
||||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_with_dsym_and_run_command(self):
|
||||
"""Test data formatter commands."""
|
||||
|
|
|
@ -13,14 +13,14 @@ class Radar10642615DataFormatterTestCase(TestBase):
|
|||
# test for rdar://problem/10642615 ()
|
||||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_with_dsym_and_run_command(self):
|
||||
"""Test data formatter commands."""
|
||||
self.buildDsym()
|
||||
self.data_formatter_commands()
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dwarf_test
|
||||
def test_with_dwarf_and_run_command(self):
|
||||
"""Test data formatter commands."""
|
||||
|
|
|
@ -13,7 +13,7 @@ class Rdar10887661TestCase(TestBase):
|
|||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
# rdar://problem/10887661
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_with_dsym_and_run_command(self):
|
||||
"""Check for an issue where capping does not work because the Target pointer appears to be changing behind our backs."""
|
||||
|
|
|
@ -13,14 +13,14 @@ class DataFormatterRdar11086338TestCase(TestBase):
|
|||
|
||||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_rdar11086338_with_dsym_and_run_command(self):
|
||||
"""Test that NSArray reports its synthetic children properly."""
|
||||
self.buildDsym()
|
||||
self.rdar11086338_tester()
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dwarf_test
|
||||
def test_rdar11086338_with_dwarf_and_run_command(self):
|
||||
"""Test that NSArray reports its synthetic children properly."""
|
||||
|
|
|
@ -13,14 +13,14 @@ class DataFormatterOSTypeTestCase(TestBase):
|
|||
|
||||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_ostype_with_dsym_and_run_command(self):
|
||||
"""Test the formatters we use for OSType."""
|
||||
self.buildDsym()
|
||||
self.ostype_data_formatter_commands()
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dwarf_test
|
||||
def test_ostype_with_dwarf_and_run_command(self):
|
||||
"""Test the formatters we use for OSType."""
|
||||
|
|
|
@ -13,14 +13,14 @@ class DataFormatterBoolRefPtr(TestBase):
|
|||
|
||||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_boolrefptr_with_dsym_and_run_command(self):
|
||||
"""Test the formatters we use for BOOL& and BOOL* in Objective-C."""
|
||||
self.buildDsym()
|
||||
self.boolrefptr_data_formatter_commands()
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dwarf_test
|
||||
def test_boolrefptr_with_dwarf_and_run_command(self):
|
||||
"""Test the formatters we use for BOOL& and BOOL* in Objective-C."""
|
||||
|
|
|
@ -13,14 +13,14 @@ class DataFormatterRdar11988289TestCase(TestBase):
|
|||
|
||||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_rdar11988289_with_dsym_and_run_command(self):
|
||||
"""Test that NSDictionary reports its synthetic children properly."""
|
||||
self.buildDsym()
|
||||
self.rdar11988289_tester()
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dwarf_test
|
||||
def test_rdar11988289_with_dwarf_and_run_command(self):
|
||||
"""Test that NSDictionary reports its synthetic children properly."""
|
||||
|
|
|
@ -13,14 +13,14 @@ class DataFormatterRdar12437442TestCase(TestBase):
|
|||
|
||||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_rdar12437442_with_dsym_and_run_command(self):
|
||||
"""Test that we update SBValues correctly as dynamic types change."""
|
||||
self.buildDsym()
|
||||
self.rdar12437442_tester()
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dwarf_test
|
||||
def test_rdar12437442_with_dwarf_and_run_command(self):
|
||||
"""Test that we update SBValues correctly as dynamic types change."""
|
||||
|
|
|
@ -13,14 +13,14 @@ class DataFormatterRdar12529957TestCase(TestBase):
|
|||
|
||||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_rdar12529957_with_dsym_and_run_command(self):
|
||||
"""Test that NSSet reports its synthetic children properly."""
|
||||
self.buildDsym()
|
||||
self.rdar12529957_tester()
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dwarf_test
|
||||
def test_rdar12529957_with_dwarf_and_run_command(self):
|
||||
"""Test that NSSet reports its synthetic children properly."""
|
||||
|
|
|
@ -13,7 +13,7 @@ class Radar13338477DataFormatterTestCase(TestBase):
|
|||
# test for rdar://problem/13338477 ()
|
||||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_with_dsym_and_run_command(self):
|
||||
"""Test that LLDB handles the clang typeclass Paren correctly."""
|
||||
|
|
|
@ -13,14 +13,14 @@ class DataFormatterOneIsSingularTestCase(TestBase):
|
|||
|
||||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_one_is_singular_with_dsym_and_run_command(self):
|
||||
"""Test that 1 item is not as reported as 1 items."""
|
||||
self.buildDsym()
|
||||
self.oneness_data_formatter_commands()
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dwarf_test
|
||||
def test_one_is_singular_with_dwarf_and_run_command(self):
|
||||
"""Test that 1 item is not as reported as 1 items."""
|
||||
|
|
|
@ -13,7 +13,7 @@ class Radar9973865DataFormatterTestCase(TestBase):
|
|||
# test for rdar://problem/9973865 (If you use "${var}" in the summary string for an aggregate type, the summary doesn't print for a pointer to that type)
|
||||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_with_dsym_and_run_command(self):
|
||||
"""Test data formatter commands."""
|
||||
|
|
|
@ -13,7 +13,7 @@ class Radar9973992DataFormatterTestCase(TestBase):
|
|||
# test for rdar://problem/9973992 (What should we do for "${var}" in summaries of aggregate types?)
|
||||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_with_dsym_and_run_command(self):
|
||||
"""Test data formatter commands."""
|
||||
|
|
|
@ -13,7 +13,7 @@ class Radar9974002DataFormatterTestCase(TestBase):
|
|||
# test for rdar://problem/9974002 ()
|
||||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_with_dsym_and_run_command(self):
|
||||
"""Test data formatter commands."""
|
||||
|
|
|
@ -12,7 +12,7 @@ class DataFormatterRefPtrRecursionTestCase(TestBase):
|
|||
|
||||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_with_dsym_and_run_command(self):
|
||||
"""Test that ValueObjectPrinter does not cause an infinite loop when a reference to a struct that contains a pointer to itself is printed."""
|
||||
|
|
|
@ -12,7 +12,7 @@ class UserFormatVSSummaryTestCase(TestBase):
|
|||
|
||||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_with_dsym_and_run_command(self):
|
||||
"""Test that the user can input a format but it will not prevail over summary format's choices."""
|
||||
|
|
|
@ -13,7 +13,7 @@ class PythonSynthDataFormatterTestCase(TestBase):
|
|||
|
||||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_with_dsym_and_run_command(self):
|
||||
"""Test data formatter commands."""
|
||||
|
|
|
@ -13,7 +13,7 @@ class VectorTypesFormattingTestCase(TestBase):
|
|||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
# rdar://problem/14035604
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_with_dsym_and_run_command(self):
|
||||
"""Check that vector types format properly"""
|
||||
|
|
|
@ -12,7 +12,7 @@ class DeadStripTestCase(TestBase):
|
|||
|
||||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_with_dsym(self):
|
||||
"""Test breakpoint works correctly with dead-code stripping."""
|
||||
|
|
|
@ -12,7 +12,7 @@ class DisassemblyTestCase(TestBase):
|
|||
|
||||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_with_dsym (self):
|
||||
self.buildDsym ()
|
||||
|
|
|
@ -12,7 +12,7 @@ class DynamicValueChildCountTestCase(TestBase):
|
|||
|
||||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@python_api_test
|
||||
@dsym_test
|
||||
@expectedFailurei386("to be figured out")
|
||||
|
|
|
@ -9,7 +9,7 @@ class ConvenienceVariablesCase(TestBase):
|
|||
|
||||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
@skipIfRemote
|
||||
def test_with_dsym_and_run_command(self):
|
||||
|
|
|
@ -22,7 +22,7 @@ class ExecTestCase(TestBase):
|
|||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_with_dsym (self):
|
||||
if self.getArchitecture() == 'x86_64':
|
||||
|
@ -35,7 +35,7 @@ class ExecTestCase(TestBase):
|
|||
self.do_test ()
|
||||
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dwarf_test
|
||||
def test_with_dwarf (self):
|
||||
if self.getArchitecture() == 'x86_64':
|
||||
|
|
|
@ -15,7 +15,7 @@ class ExprDoesntDeadlockTestCase(TestBase):
|
|||
|
||||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_with_dsym_and_run_command(self):
|
||||
"""Test that expr will time out and allow other threads to run if it blocks - with dsym."""
|
||||
|
|
|
@ -21,7 +21,7 @@ class FatArchiveTestCase(TestBase):
|
|||
|
||||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dwarf_test
|
||||
def test_with_dwarf (self):
|
||||
if self.getArchitecture() == 'x86_64':
|
||||
|
|
|
@ -9,7 +9,7 @@ class AssertingInferiorTestCase(TestBase):
|
|||
|
||||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@unittest2.expectedFailure("rdar://15367233")
|
||||
def test_inferior_asserting_dsym(self):
|
||||
"""Test that lldb reliably catches the inferior asserting (command)."""
|
||||
|
@ -24,7 +24,7 @@ class AssertingInferiorTestCase(TestBase):
|
|||
self.buildDwarf()
|
||||
self.inferior_asserting()
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
def test_inferior_asserting_registers_dsym(self):
|
||||
"""Test that lldb reliably reads registers from the inferior after asserting (command)."""
|
||||
self.buildDsym()
|
||||
|
@ -52,7 +52,7 @@ class AssertingInferiorTestCase(TestBase):
|
|||
self.buildDefault()
|
||||
self.inferior_asserting_python()
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@unittest2.expectedFailure("rdar://15367233")
|
||||
def test_inferior_asserting_expr_dsym(self):
|
||||
"""Test that the lldb expression interpreter can read from the inferior after asserting (command)."""
|
||||
|
@ -67,7 +67,7 @@ class AssertingInferiorTestCase(TestBase):
|
|||
self.buildDwarf()
|
||||
self.inferior_asserting_expr()
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@unittest2.expectedFailure("rdar://15367233")
|
||||
def test_inferior_asserting_step_dsym(self):
|
||||
"""Test that lldb functions correctly after stepping through a call to assert()."""
|
||||
|
|
|
@ -10,7 +10,7 @@ class ChangedInferiorTestCase(TestBase):
|
|||
|
||||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
def test_inferior_crashing_dsym(self):
|
||||
"""Test lldb reloads the inferior after it was changed during the session."""
|
||||
self.buildDsym()
|
||||
|
|
|
@ -9,7 +9,7 @@ class CrashingInferiorTestCase(TestBase):
|
|||
|
||||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
def test_inferior_crashing_dsym(self):
|
||||
"""Test that lldb reliably catches the inferior crashing (command)."""
|
||||
self.buildDsym()
|
||||
|
@ -20,7 +20,7 @@ class CrashingInferiorTestCase(TestBase):
|
|||
self.buildDwarf()
|
||||
self.inferior_crashing()
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
def test_inferior_crashing_registers_dsym(self):
|
||||
"""Test that lldb reliably reads registers from the inferior after crashing (command)."""
|
||||
self.buildDsym()
|
||||
|
@ -37,7 +37,7 @@ class CrashingInferiorTestCase(TestBase):
|
|||
self.buildDefault()
|
||||
self.inferior_crashing_python()
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
def test_inferior_crashing_expr_dsym(self):
|
||||
"""Test that the lldb expression interpreter can read from the inferior after crashing (command)."""
|
||||
self.buildDsym()
|
||||
|
@ -48,7 +48,7 @@ class CrashingInferiorTestCase(TestBase):
|
|||
self.buildDwarf()
|
||||
self.inferior_crashing_expr()
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
def test_inferior_crashing_step_dsym(self):
|
||||
"""Test that lldb functions correctly after stepping through a crash."""
|
||||
self.buildDsym()
|
||||
|
@ -59,7 +59,7 @@ class CrashingInferiorTestCase(TestBase):
|
|||
self.buildDwarf()
|
||||
self.inferior_crashing_step()
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
def test_inferior_crashing_step_after_break_dsym(self):
|
||||
"""Test that stepping after a crash behaves correctly."""
|
||||
self.buildDsym()
|
||||
|
@ -72,7 +72,7 @@ class CrashingInferiorTestCase(TestBase):
|
|||
self.buildDwarf()
|
||||
self.inferior_crashing_step_after_break()
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
def test_inferior_crashing_expr_step_and_expr_dsym(self):
|
||||
"""Test that lldb expressions work before and after stepping after a crash."""
|
||||
self.buildDsym()
|
||||
|
|
|
@ -10,7 +10,7 @@ class CrashingRecursiveInferiorTestCase(TestBase):
|
|||
|
||||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
def test_recursive_inferior_crashing_dsym(self):
|
||||
"""Test that lldb reliably catches the inferior crashing (command)."""
|
||||
self.buildDsym()
|
||||
|
@ -21,7 +21,7 @@ class CrashingRecursiveInferiorTestCase(TestBase):
|
|||
self.buildDwarf()
|
||||
self.recursive_inferior_crashing()
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
def test_recursive_inferior_crashing_registers_dsym(self):
|
||||
"""Test that lldb reliably reads registers from the inferior after crashing (command)."""
|
||||
self.buildDsym()
|
||||
|
@ -38,7 +38,7 @@ class CrashingRecursiveInferiorTestCase(TestBase):
|
|||
self.buildDefault()
|
||||
self.recursive_inferior_crashing_python()
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
def test_recursive_inferior_crashing_expr_dsym(self):
|
||||
"""Test that the lldb expression interpreter can read from the inferior after crashing (command)."""
|
||||
self.buildDsym()
|
||||
|
@ -49,7 +49,7 @@ class CrashingRecursiveInferiorTestCase(TestBase):
|
|||
self.buildDwarf()
|
||||
self.recursive_inferior_crashing_expr()
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
def test_recursive_inferior_crashing_step_dsym(self):
|
||||
"""Test that lldb functions correctly after stepping through a crash."""
|
||||
self.buildDsym()
|
||||
|
@ -60,7 +60,7 @@ class CrashingRecursiveInferiorTestCase(TestBase):
|
|||
self.buildDwarf()
|
||||
self.recursive_inferior_crashing_step()
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
def test_recursive_inferior_crashing_step_after_break_dsym(self):
|
||||
"""Test that stepping after a crash behaves correctly."""
|
||||
self.buildDsym()
|
||||
|
@ -73,7 +73,7 @@ class CrashingRecursiveInferiorTestCase(TestBase):
|
|||
self.buildDwarf()
|
||||
self.recursive_inferior_crashing_step_after_break()
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
def test_recursive_inferior_crashing_expr_step_and_expr_dsym(self):
|
||||
"""Test that lldb expressions work before and after stepping after a crash."""
|
||||
self.buildDsym()
|
||||
|
|
|
@ -10,7 +10,7 @@ class TestInlineStepping(TestBase):
|
|||
|
||||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@python_api_test
|
||||
@dsym_test
|
||||
def test_with_dsym_and_python_api(self):
|
||||
|
@ -27,7 +27,7 @@ class TestInlineStepping(TestBase):
|
|||
self.buildDwarf()
|
||||
self.inline_stepping()
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@python_api_test
|
||||
@dsym_test
|
||||
def test_step_over_with_dsym_and_python_api(self):
|
||||
|
|
|
@ -14,7 +14,7 @@ class LaunchWithShellExpandTestCase(TestBase):
|
|||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_with_dsym (self):
|
||||
self.buildDsym()
|
||||
|
|
|
@ -13,7 +13,7 @@ class MemoryReadTestCase(TestBase):
|
|||
|
||||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_memory_read_with_dsym(self):
|
||||
"""Test the 'memory read' command with plain and vector formats."""
|
||||
|
|
|
@ -11,14 +11,14 @@ class NoSuchArchTestCase(TestBase):
|
|||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_with_dsym (self):
|
||||
self.buildDsym()
|
||||
self.do_test ()
|
||||
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dwarf_test
|
||||
def test_with_dwarf (self):
|
||||
self.buildDwarf()
|
||||
|
|
|
@ -34,7 +34,7 @@ class TestPaths(TestBase):
|
|||
# file path if it doesn't exist in the current directory.
|
||||
self.assertTrue (file_only.GetDirectory() == None)
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("win32"), "Test for windows only")
|
||||
@skipUnlessPlatform(["windows"])
|
||||
def test_windows_double_slash (self):
|
||||
'''Test to check the path with double slash is handled correctly '''
|
||||
# Create a path and see if lldb gets the directory and file right
|
||||
|
|
|
@ -13,7 +13,7 @@ class PluginPythonOSPlugin(TestBase):
|
|||
|
||||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_python_os_plugin_dsym(self):
|
||||
"""Test that the Python operating system plugin works correctly"""
|
||||
|
|
|
@ -14,7 +14,7 @@ class ProcessAttachTestCase(TestBase):
|
|||
|
||||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_attach_to_process_by_id_with_dsym(self):
|
||||
"""Test attach by process id"""
|
||||
|
@ -27,7 +27,7 @@ class ProcessAttachTestCase(TestBase):
|
|||
self.buildDwarf()
|
||||
self.process_attach_by_id()
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_attach_to_process_by_name_with_dsym(self):
|
||||
"""Test attach by process name"""
|
||||
|
|
|
@ -18,7 +18,7 @@ class ProcessLaunchTestCase(TestBase):
|
|||
self.runCmd("settings set auto-confirm true")
|
||||
self.addTearDownHook(lambda: self.runCmd("settings clear auto-confirm"))
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
def test_io_with_dsym (self):
|
||||
"""Test that process launch I/O redirection flags work properly."""
|
||||
|
@ -117,7 +117,7 @@ class ProcessLaunchTestCase(TestBase):
|
|||
|
||||
d = {'CXX_SOURCES' : 'print_cwd.cpp'}
|
||||
|
||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||
@skipUnlessDarwin
|
||||
@dsym_test
|
||||
@expectedFailureDarwin("llvm.org/pr20265")
|
||||
def test_set_working_dir_with_dsym (self):
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue