[Lldb-commits] [lldb] r154197 - in /lldb/trunk/test: functionalities/watchpoint/hello_watchlocation/ functionalities/watchpoint/multiple_threads/ functionalities/watchpoint/watchpoint_commands/ functionalities/watchpoint/watchpoint_commands/condition/ functionalities/watchpoint/watchpoint_set_command/ lang/c/anonymous/ lang/c/array_types/ lang/c/bitfields/ lang/c/blocks/ lang/c/enum_types/ lang/c/forward/ lang/c/function_types/ lang/c/global_variables/ lang/c/set_values/ lang/c/shared_lib/ lang/c/stepping/ lang/c/strin...
Johnny Chen
johnny.chen at apple.com
Fri Apr 6 12:54:11 PDT 2012
Author: johnny
Date: Fri Apr 6 14:54:10 2012
New Revision: 154197
URL: http://llvm.org/viewvc/llvm-project?rev=154197&view=rev
Log:
Second batch of adding @dsym_test/@dwarf_test decorators to existing test cases.
Plus some minor cleanup of test method names.
Third and final batch is coming.
Modified:
lldb/trunk/test/functionalities/watchpoint/hello_watchlocation/TestWatchLocation.py
lldb/trunk/test/functionalities/watchpoint/multiple_threads/TestWatchpointMultipleThreads.py
lldb/trunk/test/functionalities/watchpoint/watchpoint_commands/TestWatchpointCommands.py
lldb/trunk/test/functionalities/watchpoint/watchpoint_commands/condition/TestWatchpointConditionCmd.py
lldb/trunk/test/functionalities/watchpoint/watchpoint_set_command/TestWatchLocationWithWatchSet.py
lldb/trunk/test/lang/c/anonymous/TestAnonymous.py
lldb/trunk/test/lang/c/array_types/TestArrayTypes.py
lldb/trunk/test/lang/c/bitfields/TestBitfields.py
lldb/trunk/test/lang/c/blocks/TestBlocks.py
lldb/trunk/test/lang/c/enum_types/TestEnumTypes.py
lldb/trunk/test/lang/c/forward/TestForwardDeclaration.py
lldb/trunk/test/lang/c/function_types/TestFunctionTypes.py
lldb/trunk/test/lang/c/global_variables/TestGlobalVariables.py
lldb/trunk/test/lang/c/set_values/TestSetValues.py
lldb/trunk/test/lang/c/shared_lib/TestSharedLib.py
lldb/trunk/test/lang/c/stepping/TestThreadStepping.py
lldb/trunk/test/lang/c/strings/TestCStrings.py
lldb/trunk/test/lang/c/struct_types/TestStructTypes.py
lldb/trunk/test/lang/cpp/breakpoints/TestCPPBreakpoints.py
lldb/trunk/test/lang/cpp/class_static/TestStaticVariables.py
lldb/trunk/test/lang/cpp/class_types/TestClassTypes.py
lldb/trunk/test/lang/cpp/class_types/TestClassTypesDisassembly.py
lldb/trunk/test/lang/cpp/dynamic-value/TestCppValueCast.py
lldb/trunk/test/lang/cpp/dynamic-value/TestDynamicValue.py
lldb/trunk/test/lang/cpp/exceptions/TestCPPExceptionBreakpoints.py
lldb/trunk/test/lang/cpp/namespace/TestNamespace.py
lldb/trunk/test/lang/cpp/signed_types/TestSignedTypes.py
lldb/trunk/test/lang/cpp/static_methods/TestCPPStaticMethods.py
lldb/trunk/test/lang/cpp/stl/TestSTL.py
lldb/trunk/test/lang/cpp/this/TestCPPThis.py
lldb/trunk/test/lang/cpp/unique-types/TestUniqueTypes.py
lldb/trunk/test/lang/cpp/unsigned_types/TestUnsignedTypes.py
lldb/trunk/test/lang/objc/forward-decl/TestForwardDecl.py
lldb/trunk/test/lang/objc/foundation/TestConstStrings.py
lldb/trunk/test/lang/objc/foundation/TestFoundationDisassembly.py
lldb/trunk/test/lang/objc/foundation/TestObjCMethods.py
lldb/trunk/test/lang/objc/foundation/TestObjCMethods2.py
lldb/trunk/test/lang/objc/foundation/TestObjectDescriptionAPI.py
lldb/trunk/test/lang/objc/foundation/TestSymbolTable.py
lldb/trunk/test/lang/objc/hidden-ivars/TestHiddenIvars.py
lldb/trunk/test/lang/objc/objc-builtin-types/TestObjCBuiltinTypes.py
lldb/trunk/test/lang/objc/objc-checker/TestObjCCheckers.py
lldb/trunk/test/lang/objc/objc-class-method/TestObjCClassMethod.py
lldb/trunk/test/lang/objc/objc-dynamic-value/TestObjCDynamicValue.py
lldb/trunk/test/lang/objc/objc-ivar-offsets/TestObjCIvarOffsets.py
lldb/trunk/test/lang/objc/objc-new-syntax/TestObjCNewSyntax.py
lldb/trunk/test/lang/objc/objc-optimized/TestObjcOptimized.py
lldb/trunk/test/lang/objc/objc-property/TestObjCProperty.py
lldb/trunk/test/lang/objc/objc-static-method/TestObjCStaticMethod.py
lldb/trunk/test/lang/objc/objc-stepping/TestObjCStepping.py
lldb/trunk/test/lang/objc/print-obj/TestPrintObj.py
lldb/trunk/test/lang/objc/radar-9691614/TestObjCMethodReturningBOOL.py
lldb/trunk/test/lang/objc/rdar-10967107/TestRdar10967107.py
lldb/trunk/test/lang/objc/real-definition/TestRealDefinition.py
lldb/trunk/test/lang/objc/self/TestObjCSelf.py
lldb/trunk/test/logging/TestLogging.py
lldb/trunk/test/macosx/order/TestOrderFile.py
lldb/trunk/test/python_api/event/TestEvents.py
lldb/trunk/test/python_api/formatters/TestFormattersSBAPI.py
lldb/trunk/test/python_api/frame/TestFrames.py
lldb/trunk/test/python_api/frame/inlines/TestInlinedFrame.py
lldb/trunk/test/python_api/function_symbol/TestDisasmAPI.py
lldb/trunk/test/python_api/function_symbol/TestSymbolAPI.py
lldb/trunk/test/python_api/hello_world/TestHelloWorld.py
lldb/trunk/test/python_api/interpreter/TestCommandInterpreterAPI.py
lldb/trunk/test/python_api/process/TestProcessAPI.py
lldb/trunk/test/python_api/process/io/TestProcessIO.py
lldb/trunk/test/python_api/sbdata/TestSBData.py
lldb/trunk/test/python_api/symbol-context/TestSymbolContext.py
lldb/trunk/test/python_api/target/TestTargetAPI.py
lldb/trunk/test/python_api/thread/TestThreadAPI.py
lldb/trunk/test/python_api/type/TestTypeList.py
lldb/trunk/test/python_api/value/TestValueAPI.py
lldb/trunk/test/python_api/value/change_values/TestChangeValueAPI.py
lldb/trunk/test/python_api/value/linked_list/TestValueAPILinkedList.py
lldb/trunk/test/python_api/watchpoint/TestSetWatchpoint.py
lldb/trunk/test/python_api/watchpoint/TestWatchpointIgnoreCount.py
lldb/trunk/test/python_api/watchpoint/TestWatchpointIter.py
lldb/trunk/test/python_api/watchpoint/condition/TestWatchpointConditionAPI.py
lldb/trunk/test/python_api/watchpoint/watchlocation/TestSetWatchlocation.py
lldb/trunk/test/python_api/watchpoint/watchlocation/TestTargetWatchAddress.py
lldb/trunk/test/settings/TestSettings.py
Modified: lldb/trunk/test/functionalities/watchpoint/hello_watchlocation/TestWatchLocation.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/watchpoint/hello_watchlocation/TestWatchLocation.py?rev=154197&r1=154196&r2=154197&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/watchpoint/hello_watchlocation/TestWatchLocation.py (original)
+++ lldb/trunk/test/functionalities/watchpoint/hello_watchlocation/TestWatchLocation.py Fri Apr 6 14:54:10 2012
@@ -13,12 +13,14 @@
mydir = os.path.join("functionalities", "watchpoint", "hello_watchlocation")
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
+ @dsym_test
def test_hello_watchlocation_with_dsym(self):
"""Test watching a location with '-x size' option."""
self.buildDsym(dictionary=self.d)
self.setTearDownCleanup(dictionary=self.d)
self.hello_watchlocation()
+ @dwarf_test
def test_hello_watchlocation_with_dwarf(self):
"""Test watching a location with '-x size' option."""
self.buildDwarf(dictionary=self.d)
Modified: lldb/trunk/test/functionalities/watchpoint/multiple_threads/TestWatchpointMultipleThreads.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/watchpoint/multiple_threads/TestWatchpointMultipleThreads.py?rev=154197&r1=154196&r2=154197&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/watchpoint/multiple_threads/TestWatchpointMultipleThreads.py (original)
+++ lldb/trunk/test/functionalities/watchpoint/multiple_threads/TestWatchpointMultipleThreads.py Fri Apr 6 14:54:10 2012
@@ -12,12 +12,14 @@
mydir = os.path.join("functionalities", "watchpoint", "multiple_threads")
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
+ @dsym_test
def test_watchpoint_multiple_threads_with_dsym(self):
"""Test that lldb watchpoint works for multiple threads."""
self.buildDsym(dictionary=self.d)
self.setTearDownCleanup(dictionary=self.d)
self.hello_multiple_threads()
+ @dwarf_test
def test_watchpoint_multiple_threads_with_dwarf(self):
"""Test that lldb watchpoint works for multiple threads."""
self.buildDwarf(dictionary=self.d)
Modified: lldb/trunk/test/functionalities/watchpoint/watchpoint_commands/TestWatchpointCommands.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/watchpoint/watchpoint_commands/TestWatchpointCommands.py?rev=154197&r1=154196&r2=154197&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/watchpoint/watchpoint_commands/TestWatchpointCommands.py (original)
+++ lldb/trunk/test/functionalities/watchpoint/watchpoint_commands/TestWatchpointCommands.py Fri Apr 6 14:54:10 2012
@@ -26,12 +26,14 @@
self.d = {'C_SOURCES': self.source, 'EXE': self.exe_name}
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
+ @dsym_test
def test_rw_watchpoint_with_dsym(self):
"""Test read_write watchpoint and expect to stop two times."""
self.buildDsym(dictionary=self.d)
self.setTearDownCleanup(dictionary=self.d)
self.normal_read_write_watchpoint()
+ @dwarf_test
def test_rw_watchpoint_with_dwarf(self):
"""Test read_write watchpoint and expect to stop two times."""
self.buildDwarf(dictionary=self.d)
@@ -39,12 +41,14 @@
self.normal_read_write_watchpoint()
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
+ @dsym_test
def test_rw_watchpoint_delete_with_dsym(self):
"""Test delete watchpoint and expect not to stop for watchpoint."""
self.buildDsym(dictionary=self.d)
self.setTearDownCleanup(dictionary=self.d)
self.delete_read_write_watchpoint()
+ @dwarf_test
def test_rw_watchpoint_delete_with_dwarf(self):
"""Test delete watchpoint and expect not to stop for watchpoint."""
self.buildDwarf(dictionary=self.d)
@@ -52,12 +56,14 @@
self.delete_read_write_watchpoint()
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
+ @dsym_test
def test_rw_watchpoint_set_ignore_count_with_dsym(self):
"""Test watchpoint ignore count and expect to not to stop at all."""
self.buildDsym(dictionary=self.d)
self.setTearDownCleanup(dictionary=self.d)
self.ignore_read_write_watchpoint()
+ @dwarf_test
def test_rw_watchpoint_set_ignore_count_with_dwarf(self):
"""Test watchpoint ignore count and expect to not to stop at all."""
self.buildDwarf(dictionary=self.d)
@@ -65,12 +71,14 @@
self.ignore_read_write_watchpoint()
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
+ @dsym_test
def test_rw_disable_after_first_stop_with_dsym(self):
"""Test read_write watchpoint but disable it after the first stop."""
self.buildDsym(dictionary=self.d)
self.setTearDownCleanup(dictionary=self.d)
self.read_write_watchpoint_disable_after_first_stop()
+ @dwarf_test
def test_rw_disable_after_first_stop__with_dwarf(self):
"""Test read_write watchpoint but disable it after the first stop."""
self.buildDwarf(dictionary=self.d)
@@ -78,12 +86,14 @@
self.read_write_watchpoint_disable_after_first_stop()
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
+ @dsym_test
def test_rw_disable_then_enable_with_dsym(self):
"""Test read_write watchpoint, disable initially, then enable it."""
self.buildDsym(dictionary=self.d)
self.setTearDownCleanup(dictionary=self.d)
self.read_write_watchpoint_disable_then_enable()
+ @dwarf_test
def test_rw_disable_then_enable_with_dwarf(self):
"""Test read_write watchpoint, disable initially, then enable it."""
self.buildDwarf(dictionary=self.d)
Modified: lldb/trunk/test/functionalities/watchpoint/watchpoint_commands/condition/TestWatchpointConditionCmd.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/watchpoint/watchpoint_commands/condition/TestWatchpointConditionCmd.py?rev=154197&r1=154196&r2=154197&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/watchpoint/watchpoint_commands/condition/TestWatchpointConditionCmd.py (original)
+++ lldb/trunk/test/functionalities/watchpoint/watchpoint_commands/condition/TestWatchpointConditionCmd.py Fri Apr 6 14:54:10 2012
@@ -25,12 +25,14 @@
self.d = {'CXX_SOURCES': self.source, 'EXE': self.exe_name}
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
+ @dsym_test
def test_watchpoint_cond_with_dsym(self):
"""Test watchpoint condition."""
self.buildDsym(dictionary=self.d)
self.setTearDownCleanup(dictionary=self.d)
self.watchpoint_condition()
+ @dwarf_test
def test_watchpoint_cond_with_dwarf(self):
"""Test watchpoint condition."""
self.buildDwarf(dictionary=self.d)
Modified: lldb/trunk/test/functionalities/watchpoint/watchpoint_set_command/TestWatchLocationWithWatchSet.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/watchpoint/watchpoint_set_command/TestWatchLocationWithWatchSet.py?rev=154197&r1=154196&r2=154197&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/watchpoint/watchpoint_set_command/TestWatchLocationWithWatchSet.py (original)
+++ lldb/trunk/test/functionalities/watchpoint/watchpoint_set_command/TestWatchLocationWithWatchSet.py Fri Apr 6 14:54:10 2012
@@ -12,12 +12,14 @@
mydir = os.path.join("functionalities", "watchpoint", "watchpoint_set_command")
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
+ @dsym_test
def test_watchlocation_with_dsym_using_watchpoint_set(self):
"""Test watching a location with 'watchpoint set expression -w write -x size' option."""
self.buildDsym(dictionary=self.d)
self.setTearDownCleanup(dictionary=self.d)
self.watchlocation_using_watchpoint_set()
+ @dwarf_test
def test_watchlocation_with_dwarf_using_watchpoint_set(self):
"""Test watching a location with 'watchpoint set expression -w write -x size' option."""
self.buildDwarf(dictionary=self.d)
Modified: lldb/trunk/test/lang/c/anonymous/TestAnonymous.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/c/anonymous/TestAnonymous.py?rev=154197&r1=154196&r2=154197&view=diff
==============================================================================
--- lldb/trunk/test/lang/c/anonymous/TestAnonymous.py (original)
+++ lldb/trunk/test/lang/c/anonymous/TestAnonymous.py Fri Apr 6 14:54:10 2012
@@ -9,10 +9,12 @@
mydir = os.path.join("lang", "c", "anonymous")
+ @dsym_test
def test_expr_with_dsym(self):
self.buildDsym()
self.expr()
+ @dwarf_test
def test_expr_with_dwarf(self):
self.buildDwarf()
self.expr()
Modified: lldb/trunk/test/lang/c/array_types/TestArrayTypes.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/c/array_types/TestArrayTypes.py?rev=154197&r1=154196&r2=154197&view=diff
==============================================================================
--- lldb/trunk/test/lang/c/array_types/TestArrayTypes.py (original)
+++ lldb/trunk/test/lang/c/array_types/TestArrayTypes.py Fri Apr 6 14:54:10 2012
@@ -10,6 +10,7 @@
mydir = os.path.join("lang", "c", "array_types")
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
+ @dsym_test
def test_with_dsym_and_run_command(self):
"""Test 'frame variable var_name' on some variables with array types."""
self.buildDsym()
@@ -17,17 +18,20 @@
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
@python_api_test
+ @dsym_test
def test_with_dsym_and_python_api(self):
"""Use Python APIs to inspect variables with array types."""
self.buildDsym()
self.array_types_python()
+ @dwarf_test
def test_with_dwarf_and_run_command(self):
"""Test 'frame variable var_name' on some variables with array types."""
self.buildDwarf()
self.array_types()
@python_api_test
+ @dwarf_test
def test_with_dwarf_and_python_api(self):
"""Use Python APIs to inspect variables with array types."""
self.buildDwarf()
Modified: lldb/trunk/test/lang/c/bitfields/TestBitfields.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/c/bitfields/TestBitfields.py?rev=154197&r1=154196&r2=154197&view=diff
==============================================================================
--- lldb/trunk/test/lang/c/bitfields/TestBitfields.py (original)
+++ lldb/trunk/test/lang/c/bitfields/TestBitfields.py Fri Apr 6 14:54:10 2012
@@ -10,6 +10,7 @@
mydir = os.path.join("lang", "c", "bitfields")
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
+ @dsym_test
def test_with_dsym_and_run_command(self):
"""Test 'frame variable ...' on a variable with bitfields."""
self.buildDsym()
@@ -17,17 +18,20 @@
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
@python_api_test
+ @dsym_test
def test_with_dsym_and_python_api(self):
"""Use Python APIs to inspect a bitfields variable."""
self.buildDsym()
self.bitfields_variable_python()
+ @dwarf_test
def test_with_dwarf_and_run_command(self):
"""Test 'frame variable ...' on a variable with bitfields."""
self.buildDwarf()
self.bitfields_variable()
@python_api_test
+ @dwarf_test
def test_with_dwarf_and_python_api(self):
"""Use Python APIs to inspect a bitfields variable."""
self.buildDwarf()
Modified: lldb/trunk/test/lang/c/blocks/TestBlocks.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/c/blocks/TestBlocks.py?rev=154197&r1=154196&r2=154197&view=diff
==============================================================================
--- lldb/trunk/test/lang/c/blocks/TestBlocks.py (original)
+++ lldb/trunk/test/lang/c/blocks/TestBlocks.py Fri Apr 6 14:54:10 2012
@@ -11,11 +11,13 @@
lines = []
@unittest2.expectedFailure
+ @dsym_test
def test_expr_with_dsym(self):
self.buildDsym()
self.expr()
@unittest2.expectedFailure
+ @dwarf_test
def test_expr_with_dwarf(self):
self.buildDwarf()
self.expr()
Modified: lldb/trunk/test/lang/c/enum_types/TestEnumTypes.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/c/enum_types/TestEnumTypes.py?rev=154197&r1=154196&r2=154197&view=diff
==============================================================================
--- lldb/trunk/test/lang/c/enum_types/TestEnumTypes.py (original)
+++ lldb/trunk/test/lang/c/enum_types/TestEnumTypes.py Fri Apr 6 14:54:10 2012
@@ -10,6 +10,7 @@
mydir = os.path.join("lang", "c", "enum_types")
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
+ @dsym_test
def test_with_dsym(self):
"""Test 'image lookup -t days' and check for correct display."""
self.buildDsym()
@@ -17,6 +18,7 @@
# rdar://problem/8394746
# 'image lookup -t days' returns nothing with dwarf debug format.
+ @dwarf_test
def test_with_dwarf(self):
"""Test 'image lookup -t days' and check for correct display."""
self.buildDwarf()
Modified: lldb/trunk/test/lang/c/forward/TestForwardDeclaration.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/c/forward/TestForwardDeclaration.py?rev=154197&r1=154196&r2=154197&view=diff
==============================================================================
--- lldb/trunk/test/lang/c/forward/TestForwardDeclaration.py (original)
+++ lldb/trunk/test/lang/c/forward/TestForwardDeclaration.py Fri Apr 6 14:54:10 2012
@@ -10,6 +10,7 @@
mydir = os.path.join("lang", "c", "forward")
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
+ @dsym_test
def test_with_dsym_and_run_command(self):
"""Display *bar_ptr when stopped on a function with forward declaration of struct bar."""
self.buildDsym()
@@ -19,6 +20,7 @@
# 'expression *bar_ptr' seg faults
# rdar://problem/8546815
# './dotest.py -v -t forward' fails for test_with_dwarf_and_run_command
+ @dwarf_test
def test_with_dwarf_and_run_command(self):
"""Display *bar_ptr when stopped on a function with forward declaration of struct bar."""
self.buildDwarf()
Modified: lldb/trunk/test/lang/c/function_types/TestFunctionTypes.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/c/function_types/TestFunctionTypes.py?rev=154197&r1=154196&r2=154197&view=diff
==============================================================================
--- lldb/trunk/test/lang/c/function_types/TestFunctionTypes.py (original)
+++ lldb/trunk/test/lang/c/function_types/TestFunctionTypes.py Fri Apr 6 14:54:10 2012
@@ -10,22 +10,26 @@
mydir = os.path.join("lang", "c", "function_types")
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
+ @dsym_test
def test_with_dsym(self):
"""Test 'callback' has function ptr type, then break on the function."""
self.buildDsym()
self.function_types()
+ @dwarf_test
def test_with_dwarf(self):
"""Test 'callback' has function ptr type, then break on the function."""
self.buildDwarf()
self.function_types()
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
+ @dsym_test
def test_pointers_with_dsym(self):
"""Test that a function pointer to 'printf' works and can be called."""
self.buildDsym()
self.function_pointers()
+ @dwarf_test
def test_pointers_with_dwarf(self):
"""Test that a function pointer to 'printf' works and can be called."""
self.buildDwarf()
Modified: lldb/trunk/test/lang/c/global_variables/TestGlobalVariables.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/c/global_variables/TestGlobalVariables.py?rev=154197&r1=154196&r2=154197&view=diff
==============================================================================
--- lldb/trunk/test/lang/c/global_variables/TestGlobalVariables.py (original)
+++ lldb/trunk/test/lang/c/global_variables/TestGlobalVariables.py Fri Apr 6 14:54:10 2012
@@ -10,11 +10,13 @@
mydir = os.path.join("lang", "c", "global_variables")
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
+ @dsym_test
def test_with_dsym(self):
"""Test 'frame variable -s -a' which omits args and shows scopes."""
self.buildDsym()
self.global_variables()
+ @dwarf_test
def test_with_dwarf(self):
"""Test 'frame variable -s -a' which omits args and shows scopes."""
self.buildDwarf()
Modified: lldb/trunk/test/lang/c/set_values/TestSetValues.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/c/set_values/TestSetValues.py?rev=154197&r1=154196&r2=154197&view=diff
==============================================================================
--- lldb/trunk/test/lang/c/set_values/TestSetValues.py (original)
+++ lldb/trunk/test/lang/c/set_values/TestSetValues.py Fri Apr 6 14:54:10 2012
@@ -10,11 +10,13 @@
mydir = os.path.join("lang", "c", "set_values")
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
+ @dsym_test
def test_with_dsym(self):
"""Test settings and readings of program variables."""
self.buildDsym()
self.set_values()
+ @dwarf_test
def test_with_dwarf(self):
"""Test settings and readings of program variables."""
self.buildDwarf()
Modified: lldb/trunk/test/lang/c/shared_lib/TestSharedLib.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/c/shared_lib/TestSharedLib.py?rev=154197&r1=154196&r2=154197&view=diff
==============================================================================
--- lldb/trunk/test/lang/c/shared_lib/TestSharedLib.py (original)
+++ lldb/trunk/test/lang/c/shared_lib/TestSharedLib.py Fri Apr 6 14:54:10 2012
@@ -9,21 +9,25 @@
mydir = os.path.join("lang", "c", "shared_lib")
+ @dsym_test
def test_expr_with_dsym(self):
"""Test that types work when defined in a shared library and forward-declared in the main executable"""
self.buildDsym()
self.expr()
+ @dwarf_test
def test_expr_with_dwarf(self):
"""Test that types work when defined in a shared library and forward-declared in the main executable"""
self.buildDwarf()
self.expr()
+ @dsym_test
def test_frame_variable_with_dsym(self):
"""Test that types work when defined in a shared library and forward-declared in the main executable"""
self.buildDsym()
self.frame_var()
+ @dwarf_test
def test_frame_variable_with_dwarf(self):
"""Test that types work when defined in a shared library and forward-declared in the main executable"""
self.buildDwarf()
Modified: lldb/trunk/test/lang/c/stepping/TestThreadStepping.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/c/stepping/TestThreadStepping.py?rev=154197&r1=154196&r2=154197&view=diff
==============================================================================
--- lldb/trunk/test/lang/c/stepping/TestThreadStepping.py (original)
+++ lldb/trunk/test/lang/c/stepping/TestThreadStepping.py Fri Apr 6 14:54:10 2012
@@ -13,11 +13,13 @@
mydir = os.path.join("lang", "c", "stepping")
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
+ @dsym_test
def test_step_out_with_dsym_and_run_command(self):
"""Exercise thread step-out and frame select followed by thread step-out."""
self.buildDwarf()
self.thread_step_out()
+ @dwarf_test
def test_step_out_with_dwarf_and_run_command(self):
"""Exercise thread step-out and frame select followed by thread step-out."""
self.buildDwarf()
Modified: lldb/trunk/test/lang/c/strings/TestCStrings.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/c/strings/TestCStrings.py?rev=154197&r1=154196&r2=154197&view=diff
==============================================================================
--- lldb/trunk/test/lang/c/strings/TestCStrings.py (original)
+++ lldb/trunk/test/lang/c/strings/TestCStrings.py Fri Apr 6 14:54:10 2012
@@ -9,11 +9,13 @@
mydir = os.path.join("lang", "c", "strings")
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
+ @dsym_test
def test_with_dsym_and_run_command(self):
"""Tests that C strings work as expected in expressions"""
self.buildDsym()
self.static_method_commands()
+ @dwarf_test
def test_with_dwarf_and_run_command(self):
"""Tests that C strings work as expected in expressions"""
self.buildDwarf()
Modified: lldb/trunk/test/lang/c/struct_types/TestStructTypes.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/c/struct_types/TestStructTypes.py?rev=154197&r1=154196&r2=154197&view=diff
==============================================================================
--- lldb/trunk/test/lang/c/struct_types/TestStructTypes.py (original)
+++ lldb/trunk/test/lang/c/struct_types/TestStructTypes.py Fri Apr 6 14:54:10 2012
@@ -14,11 +14,13 @@
mydir = os.path.join("lang", "c", "struct_types")
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
+ @dsym_test
def test_with_dsym(self):
"""Test that break on a struct declaration has no effect."""
self.buildDsym()
self.struct_types()
+ @dwarf_test
def test_with_dwarf(self):
"""Test that break on a struct declaration has no effect."""
self.buildDwarf()
Modified: lldb/trunk/test/lang/cpp/breakpoints/TestCPPBreakpoints.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/cpp/breakpoints/TestCPPBreakpoints.py?rev=154197&r1=154196&r2=154197&view=diff
==============================================================================
--- lldb/trunk/test/lang/cpp/breakpoints/TestCPPBreakpoints.py (original)
+++ lldb/trunk/test/lang/cpp/breakpoints/TestCPPBreakpoints.py Fri Apr 6 14:54:10 2012
@@ -12,11 +12,13 @@
mydir = os.path.join("lang", "cpp", "breakpoints")
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
+ @dsym_test
def test_with_dsym(self):
"""Test a sequence of breakpoint command add, list, and delete."""
self.buildDsym()
self.cpp_breakpoints()
+ @dwarf_test
def test_with_dwarf(self):
"""Test a sequence of breakpoint command add, list, and delete."""
self.buildDwarf()
Modified: lldb/trunk/test/lang/cpp/class_static/TestStaticVariables.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/cpp/class_static/TestStaticVariables.py?rev=154197&r1=154196&r2=154197&view=diff
==============================================================================
--- lldb/trunk/test/lang/cpp/class_static/TestStaticVariables.py (original)
+++ lldb/trunk/test/lang/cpp/class_static/TestStaticVariables.py Fri Apr 6 14:54:10 2012
@@ -12,11 +12,13 @@
mydir = os.path.join("lang", "cpp", "class_static")
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
+ @dsym_test
def test_with_dsym_and_run_command(self):
"""Test that file and class static variables display correctly."""
self.buildDsym()
self.static_variable_commands()
+ @dwarf_test
def test_with_dwarf_and_run_command(self):
"""Test that file and class static variables display correctly."""
self.buildDwarf()
@@ -26,6 +28,7 @@
#rdar://problem/9980907
@expectedFailureClang
@python_api_test
+ @dsym_test
def test_with_dsym_and_python_api(self):
"""Test Python APIs on file and class static variables."""
self.buildDsym()
@@ -34,6 +37,7 @@
#rdar://problem/9980907
@expectedFailureClang
@python_api_test
+ @dwarf_test
def test_with_dwarf_and_python_api(self):
"""Test Python APIs on file and class static variables."""
self.buildDwarf()
Modified: lldb/trunk/test/lang/cpp/class_types/TestClassTypes.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/cpp/class_types/TestClassTypes.py?rev=154197&r1=154196&r2=154197&view=diff
==============================================================================
--- lldb/trunk/test/lang/cpp/class_types/TestClassTypes.py (original)
+++ lldb/trunk/test/lang/cpp/class_types/TestClassTypes.py Fri Apr 6 14:54:10 2012
@@ -11,6 +11,7 @@
mydir = os.path.join("lang", "cpp", "class_types")
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
+ @dsym_test
def test_with_dsym_and_run_command(self):
"""Test 'frame variable this' when stopped on a class constructor."""
self.buildDsym()
@@ -18,6 +19,7 @@
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
@python_api_test
+ @dsym_test
def test_with_dsym_and_python_api(self):
"""Use Python APIs to create a breakpoint by (filespec, line)."""
self.buildDsym()
@@ -26,12 +28,14 @@
# rdar://problem/8378863
# "frame variable this" returns
# error: unable to find any variables named 'this'
+ @dwarf_test
def test_with_dwarf_and_run_command(self):
"""Test 'frame variable this' when stopped on a class constructor."""
self.buildDwarf()
self.class_types()
@python_api_test
+ @dwarf_test
def test_with_dwarf_and_python_api(self):
"""Use Python APIs to create a breakpoint by (filespec, line)."""
self.buildDwarf()
@@ -40,6 +44,7 @@
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
# rdar://problem/8557478
# test/class_types test failures: runCmd: expr this->m_c_int
+ @dsym_test
def test_with_dsym_and_expr_parser(self):
"""Test 'frame variable this' and 'expr this' when stopped inside a constructor."""
self.buildDsym()
@@ -47,6 +52,7 @@
# rdar://problem/8557478
# test/class_types test failures: runCmd: expr this->m_c_int
+ @dwarf_test
def test_with_dwarf_and_expr_parser(self):
"""Test 'frame variable this' and 'expr this' when stopped inside a constructor."""
self.buildDwarf()
Modified: lldb/trunk/test/lang/cpp/class_types/TestClassTypesDisassembly.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/cpp/class_types/TestClassTypesDisassembly.py?rev=154197&r1=154196&r2=154197&view=diff
==============================================================================
--- lldb/trunk/test/lang/cpp/class_types/TestClassTypesDisassembly.py (original)
+++ lldb/trunk/test/lang/cpp/class_types/TestClassTypesDisassembly.py Fri Apr 6 14:54:10 2012
@@ -12,11 +12,13 @@
mydir = os.path.join("lang", "cpp", "class_types")
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
+ @dsym_test
def test_with_dsym_and_run_command(self):
"""Disassemble each call frame when stopped on C's constructor."""
self.buildDsym()
self.disassemble_call_stack()
+ @dwarf_test
def test_with_dwarf_and_run_command(self):
"""Disassemble each call frame when stopped on C's constructor."""
self.buildDwarf()
@@ -24,12 +26,14 @@
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
@python_api_test
+ @dsym_test
def test_with_dsym_and_python_api(self):
"""Disassemble each call frame when stopped on C's constructor."""
self.buildDsym()
self.disassemble_call_stack_python()
@python_api_test
+ @dwarf_test
def test_with_dwarf_and_python_api(self):
"""Disassemble each call frame when stopped on C's constructor."""
self.buildDwarf()
Modified: lldb/trunk/test/lang/cpp/dynamic-value/TestCppValueCast.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/cpp/dynamic-value/TestCppValueCast.py?rev=154197&r1=154196&r2=154197&view=diff
==============================================================================
--- lldb/trunk/test/lang/cpp/dynamic-value/TestCppValueCast.py (original)
+++ lldb/trunk/test/lang/cpp/dynamic-value/TestCppValueCast.py Fri Apr 6 14:54:10 2012
@@ -16,6 +16,7 @@
@unittest2.expectedFailure
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
@python_api_test
+ @dsym_test
def test_value_cast_with_dsym_and_virtual_inheritance(self):
"""Test SBValue::Cast(SBType) API for C++ types with virtual inheritance."""
self.buildDsym(dictionary=self.d_virtual)
@@ -25,6 +26,7 @@
# rdar://problem/10808472 SBValue::Cast test case is failing (virtual inheritance)
@unittest2.expectedFailure
@python_api_test
+ @dwarf_test
def test_value_cast_with_dwarf_and_virtual_inheritance(self):
"""Test SBValue::Cast(SBType) API for C++ types with virtual inheritance."""
self.buildDwarf(dictionary=self.d_virtual)
@@ -33,6 +35,7 @@
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
@python_api_test
+ @dsym_test
def test_value_cast_with_dsym_and_regular_inheritance(self):
"""Test SBValue::Cast(SBType) API for C++ types with regular inheritance."""
self.buildDsym(dictionary=self.d_regular)
@@ -40,6 +43,7 @@
self.do_sbvalue_cast(self.exe_name)
@python_api_test
+ @dwarf_test
def test_value_cast_with_dwarf_and_regular_inheritance(self):
"""Test SBValue::Cast(SBType) API for C++ types with regular inheritance."""
self.buildDwarf(dictionary=self.d_regular)
Modified: lldb/trunk/test/lang/cpp/dynamic-value/TestDynamicValue.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/cpp/dynamic-value/TestDynamicValue.py?rev=154197&r1=154196&r2=154197&view=diff
==============================================================================
--- lldb/trunk/test/lang/cpp/dynamic-value/TestDynamicValue.py (original)
+++ lldb/trunk/test/lang/cpp/dynamic-value/TestDynamicValue.py Fri Apr 6 14:54:10 2012
@@ -14,12 +14,14 @@
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
@python_api_test
+ @dsym_test
def test_get_dynamic_vals_with_dsym(self):
"""Test fetching C++ dynamic values from pointers & references."""
self.buildDsym()
self.do_get_dynamic_vals()
@python_api_test
+ @dwarf_test
def test_get_dynamic_vals_with_dwarf(self):
"""Test fetching C++ dynamic values from pointers & references."""
self.buildDwarf()
Modified: lldb/trunk/test/lang/cpp/exceptions/TestCPPExceptionBreakpoints.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/cpp/exceptions/TestCPPExceptionBreakpoints.py?rev=154197&r1=154196&r2=154197&view=diff
==============================================================================
--- lldb/trunk/test/lang/cpp/exceptions/TestCPPExceptionBreakpoints.py (original)
+++ lldb/trunk/test/lang/cpp/exceptions/TestCPPExceptionBreakpoints.py Fri Apr 6 14:54:10 2012
@@ -13,11 +13,13 @@
mydir = os.path.join("lang", "cpp", "exceptions")
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
+ @dsym_test
def test_with_dsym(self):
"""Test lldb exception breakpoint command for CPP."""
self.buildDsym()
self.cpp_exceptions()
+ @dwarf_test
def test_with_dwarf(self):
"""Test lldb exception breakpoint command for CPP."""
self.buildDwarf()
Modified: lldb/trunk/test/lang/cpp/namespace/TestNamespace.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/cpp/namespace/TestNamespace.py?rev=154197&r1=154196&r2=154197&view=diff
==============================================================================
--- lldb/trunk/test/lang/cpp/namespace/TestNamespace.py (original)
+++ lldb/trunk/test/lang/cpp/namespace/TestNamespace.py Fri Apr 6 14:54:10 2012
@@ -13,12 +13,14 @@
# rdar://problem/8668674
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
+ @dsym_test
def test_with_dsym_and_run_command(self):
"""Test that anonymous and named namespace variables display correctly."""
self.buildDsym()
self.namespace_variable_commands()
# rdar://problem/8668674
+ @dwarf_test
def test_with_dwarf_and_run_command(self):
"""Test that anonymous and named namespace variables display correctly."""
self.buildDwarf()
Modified: lldb/trunk/test/lang/cpp/signed_types/TestSignedTypes.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/cpp/signed_types/TestSignedTypes.py?rev=154197&r1=154196&r2=154197&view=diff
==============================================================================
--- lldb/trunk/test/lang/cpp/signed_types/TestSignedTypes.py (original)
+++ lldb/trunk/test/lang/cpp/signed_types/TestSignedTypes.py Fri Apr 6 14:54:10 2012
@@ -13,11 +13,13 @@
mydir = os.path.join("lang", "cpp", "signed_types")
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
+ @dsym_test
def test_with_dsym(self):
"""Test that variables with signed types display correctly."""
self.buildDsym()
self.signed_types()
+ @dwarf_test
def test_with_dwarf(self):
"""Test that variables with signed types display correctly."""
self.buildDwarf()
Modified: lldb/trunk/test/lang/cpp/static_methods/TestCPPStaticMethods.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/cpp/static_methods/TestCPPStaticMethods.py?rev=154197&r1=154196&r2=154197&view=diff
==============================================================================
--- lldb/trunk/test/lang/cpp/static_methods/TestCPPStaticMethods.py (original)
+++ lldb/trunk/test/lang/cpp/static_methods/TestCPPStaticMethods.py Fri Apr 6 14:54:10 2012
@@ -9,11 +9,13 @@
mydir = os.path.join("lang", "cpp", "static_methods")
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
+ @dsym_test
def test_with_dsym_and_run_command(self):
"""Test that static methods are properly distinguished from regular methods"""
self.buildDsym()
self.static_method_commands()
+ @dwarf_test
def test_with_dwarf_and_run_command(self):
"""Test that static methods are properly distinguished from regular methods"""
self.buildDwarf()
@@ -48,4 +50,4 @@
import atexit
lldb.SBDebugger.Initialize()
atexit.register(lambda: lldb.SBDebugger.Terminate())
- unittest2.main()
\ No newline at end of file
+ unittest2.main()
Modified: lldb/trunk/test/lang/cpp/stl/TestSTL.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/cpp/stl/TestSTL.py?rev=154197&r1=154196&r2=154197&view=diff
==============================================================================
--- lldb/trunk/test/lang/cpp/stl/TestSTL.py (original)
+++ lldb/trunk/test/lang/cpp/stl/TestSTL.py Fri Apr 6 14:54:10 2012
@@ -15,6 +15,7 @@
# rdar://problem/10400981
@unittest2.expectedFailure
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
+ @dsym_test
def test_with_dsym(self):
"""Test some expressions involving STL data types."""
self.buildDsym()
@@ -22,18 +23,21 @@
# rdar://problem/10400981
@unittest2.expectedFailure
+ @dwarf_test
def test_with_dwarf(self):
"""Test some expressions involving STL data types."""
self.buildDwarf()
self.step_stl_exprs()
@python_api_test
+ @dsym_test
def test_SBType_template_aspects_with_dsym(self):
"""Test APIs for getting template arguments from an SBType."""
self.buildDsym()
self.sbtype_template_apis()
@python_api_test
+ @dwarf_test
def test_SBType_template_aspects_with_dwarf(self):
"""Test APIs for getting template arguments from an SBType."""
self.buildDwarf()
Modified: lldb/trunk/test/lang/cpp/this/TestCPPThis.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/cpp/this/TestCPPThis.py?rev=154197&r1=154196&r2=154197&view=diff
==============================================================================
--- lldb/trunk/test/lang/cpp/this/TestCPPThis.py (original)
+++ lldb/trunk/test/lang/cpp/this/TestCPPThis.py Fri Apr 6 14:54:10 2012
@@ -11,6 +11,7 @@
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
#rdar://problem/9962849
#@expectedFailureClang
+ @dsym_test
def test_with_dsym_and_run_command(self):
"""Test that the appropriate member variables are available when stopped in C++ static, inline, and const methods"""
self.buildDsym()
@@ -18,6 +19,7 @@
#rdar://problem/9962849
#@expectedFailureClang
+ @dwarf_test
def test_with_dwarf_and_run_command(self):
"""Test that the appropriate member variables are available when stopped in C++ static, inline, and const methods"""
self.buildDwarf()
Modified: lldb/trunk/test/lang/cpp/unique-types/TestUniqueTypes.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/cpp/unique-types/TestUniqueTypes.py?rev=154197&r1=154196&r2=154197&view=diff
==============================================================================
--- lldb/trunk/test/lang/cpp/unique-types/TestUniqueTypes.py (original)
+++ lldb/trunk/test/lang/cpp/unique-types/TestUniqueTypes.py Fri Apr 6 14:54:10 2012
@@ -12,11 +12,13 @@
mydir = os.path.join("lang", "cpp", "unique-types")
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
+ @dsym_test
def test_with_dsym(self):
"""Test for unique types of std::vector<long> and std::vector<short>."""
self.buildDsym()
self.unique_types()
+ @dwarf_test
def test_with_dwarf(self):
"""Test for unique types of std::vector<long> and std::vector<short>."""
self.buildDwarf()
Modified: lldb/trunk/test/lang/cpp/unsigned_types/TestUnsignedTypes.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/cpp/unsigned_types/TestUnsignedTypes.py?rev=154197&r1=154196&r2=154197&view=diff
==============================================================================
--- lldb/trunk/test/lang/cpp/unsigned_types/TestUnsignedTypes.py (original)
+++ lldb/trunk/test/lang/cpp/unsigned_types/TestUnsignedTypes.py Fri Apr 6 14:54:10 2012
@@ -13,11 +13,13 @@
mydir = os.path.join("lang", "cpp", "unsigned_types")
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
+ @dsym_test
def test_with_dsym(self):
"""Test that variables with unsigned types display correctly."""
self.buildDsym()
self.unsigned_types()
+ @dwarf_test
def test_with_dwarf(self):
"""Test that variables with unsigned types display correctly."""
self.buildDwarf()
Modified: lldb/trunk/test/lang/objc/forward-decl/TestForwardDecl.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/objc/forward-decl/TestForwardDecl.py?rev=154197&r1=154196&r2=154197&view=diff
==============================================================================
--- lldb/trunk/test/lang/objc/forward-decl/TestForwardDecl.py (original)
+++ lldb/trunk/test/lang/objc/forward-decl/TestForwardDecl.py Fri Apr 6 14:54:10 2012
@@ -9,10 +9,12 @@
mydir = os.path.join("lang", "objc", "forward-decl")
+ @dsym_test
def test_expr_with_dsym(self):
self.buildDsym()
self.expr()
+ @dwarf_test
def test_expr_with_dwarf(self):
self.buildDwarf()
self.expr()
Modified: lldb/trunk/test/lang/objc/foundation/TestConstStrings.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/objc/foundation/TestConstStrings.py?rev=154197&r1=154196&r2=154197&view=diff
==============================================================================
--- lldb/trunk/test/lang/objc/foundation/TestConstStrings.py (original)
+++ lldb/trunk/test/lang/objc/foundation/TestConstStrings.py Fri Apr 6 14:54:10 2012
@@ -14,12 +14,14 @@
mydir = os.path.join("lang", "objc", "foundation")
d = {'OBJC_SOURCES': 'const-strings.m'}
+ @dsym_test
def test_break_with_dsym(self):
"""Test constant string generation amd comparison by the expression parser."""
self.buildDsym(dictionary=self.d)
self.setTearDownCleanup(self.d)
self.objc_const_strings()
+ @dwarf_test
def test_break_with_dwarf(self):
"""Test constant string generation amd comparison by the expression parser."""
self.buildDwarf(dictionary=self.d)
Modified: lldb/trunk/test/lang/objc/foundation/TestFoundationDisassembly.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/objc/foundation/TestFoundationDisassembly.py?rev=154197&r1=154196&r2=154197&view=diff
==============================================================================
--- lldb/trunk/test/lang/objc/foundation/TestFoundationDisassembly.py (original)
+++ lldb/trunk/test/lang/objc/foundation/TestFoundationDisassembly.py Fri Apr 6 14:54:10 2012
@@ -54,11 +54,13 @@
self.runCmd('disassemble -n "%s"' % func)
+ @dsym_test
def test_simple_disasm_with_dsym(self):
"""Test the lldb 'disassemble' command"""
self.buildDsym()
self.do_simple_disasm()
+ @dwarf_test
def test_simple_disasm_with_dwarf(self):
"""Test the lldb 'disassemble' command"""
self.buildDwarf()
Modified: lldb/trunk/test/lang/objc/foundation/TestObjCMethods.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/objc/foundation/TestObjCMethods.py?rev=154197&r1=154196&r2=154197&view=diff
==============================================================================
--- lldb/trunk/test/lang/objc/foundation/TestObjCMethods.py (original)
+++ lldb/trunk/test/lang/objc/foundation/TestObjCMethods.py Fri Apr 6 14:54:10 2012
@@ -13,11 +13,13 @@
mydir = os.path.join("lang", "objc", "foundation")
+ @dsym_test
def test_break_with_dsym(self):
"""Test setting objc breakpoints using '_regexp-break' and 'breakpoint set'."""
self.buildDsym()
self.break_on_objc_methods()
+ @dwarf_test
def test_break_with_dwarf(self):
"""Test setting objc breakpoints using '_regexp-break' and 'breakpoint set'."""
self.buildDwarf()
@@ -26,6 +28,7 @@
#@unittest2.expectedFailure
# rdar://problem/8542091
# rdar://problem/8492646
+ @dsym_test
def test_data_type_and_expr_with_dsym(self):
"""Lookup objective-c data types and evaluate expressions."""
self.buildDsym()
@@ -34,17 +37,20 @@
#@unittest2.expectedFailure
# rdar://problem/8542091
# rdar://problem/8492646
+ @dwarf_test
def test_data_type_and_expr_with_dwarf(self):
"""Lookup objective-c data types and evaluate expressions."""
self.buildDwarf()
self.data_type_and_expr_objc()
@python_api_test
+ @dsym_test
def test_print_ivars_correctly_with_dsym (self):
self.buildDsym()
self.print_ivars_correctly()
@python_api_test
+ @dwarf_test
def test_print_ivars_correctly_with_dwarf (self):
self.buildDwarf()
self.print_ivars_correctly()
Modified: lldb/trunk/test/lang/objc/foundation/TestObjCMethods2.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/objc/foundation/TestObjCMethods2.py?rev=154197&r1=154196&r2=154197&view=diff
==============================================================================
--- lldb/trunk/test/lang/objc/foundation/TestObjCMethods2.py (original)
+++ lldb/trunk/test/lang/objc/foundation/TestObjCMethods2.py Fri Apr 6 14:54:10 2012
@@ -12,61 +12,73 @@
mydir = os.path.join("lang", "objc", "foundation")
+ @dsym_test
def test_more_expr_commands_with_dsym(self):
"""More expression commands for objective-c."""
self.buildDsym()
self.more_expr_objc()
+ @dwarf_test
def test_more_expr_commands_with_dwarf(self):
"""More expression commands for objective-c."""
self.buildDwarf()
self.more_expr_objc()
+ @dsym_test
def test_NSArray_expr_commands_with_dsym(self):
"""Test expression commands for NSArray."""
self.buildDsym()
self.NSArray_expr()
+ @dwarf_test
def test_NSArray_expr_commands_with_dwarf(self):
"""Test expression commands for NSArray."""
self.buildDwarf()
self.NSArray_expr()
+ @dsym_test
def test_NSString_expr_commands_with_dsym(self):
"""Test expression commands for NSString."""
self.buildDsym()
self.NSString_expr()
+ @dwarf_test
def test_NSString_expr_commands_with_dwarf(self):
"""Test expression commands for NSString."""
self.buildDwarf()
self.NSString_expr()
+ @dsym_test
def test_MyString_dump_with_dsym(self):
"""Test dump of a known Objective-C object by dereferencing it."""
self.buildDsym()
self.MyString_dump()
+ @dwarf_test
def test_MyString_dump_with_dwarf(self):
"""Test dump of a known Objective-C object by dereferencing it."""
self.buildDwarf()
self.MyString_dump()
+ @dsym_test
def test_NSError_po_with_dsym(self):
"""Test that po of the result of an unknown method doesn't require a cast."""
self.buildDsym()
self.NSError_po()
+ @dwarf_test
def test_NSError_po_with_dwarf(self):
"""Test that po of the result of an unknown method doesn't require a cast."""
self.buildDsym()
self.NSError_po()
+ @dsym_test
def test_NSError_p_with_dsym(self):
"""Test that p of the result of an unknown method does require a cast."""
self.buildDsym()
self.NSError_p()
+ @dwarf_test
def test_NSError_p_with_dwarf(self):
"""Test that p of the result of an unknown method does require a cast."""
self.buildDsym()
Modified: lldb/trunk/test/lang/objc/foundation/TestObjectDescriptionAPI.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/objc/foundation/TestObjectDescriptionAPI.py?rev=154197&r1=154196&r2=154197&view=diff
==============================================================================
--- lldb/trunk/test/lang/objc/foundation/TestObjectDescriptionAPI.py (original)
+++ lldb/trunk/test/lang/objc/foundation/TestObjectDescriptionAPI.py Fri Apr 6 14:54:10 2012
@@ -15,6 +15,7 @@
# rdar://problem/10857337
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
@python_api_test
+ @dsym_test
def test_find_global_variables_then_object_description_with_dsym(self):
"""Exercise SBTaget.FindGlobalVariables() API."""
d = {'EXE': 'a.out'}
@@ -24,6 +25,7 @@
# rdar://problem/10857337
@python_api_test
+ @dwarf_test
def test_find_global_variables_then_object_description_with_dwarf(self):
"""Exercise SBTarget.FindGlobalVariables() API."""
d = {'EXE': 'b.out'}
Modified: lldb/trunk/test/lang/objc/foundation/TestSymbolTable.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/objc/foundation/TestSymbolTable.py?rev=154197&r1=154196&r2=154197&view=diff
==============================================================================
--- lldb/trunk/test/lang/objc/foundation/TestSymbolTable.py (original)
+++ lldb/trunk/test/lang/objc/foundation/TestSymbolTable.py Fri Apr 6 14:54:10 2012
@@ -25,12 +25,14 @@
]
@python_api_test
+ @dsym_test
def test_with_dsym_and_python_api(self):
"""Test symbol table access with Python APIs."""
self.buildDsym()
self.symtab_access_python()
@python_api_test
+ @dwarf_test
def test_with_dwarf_and_python_api(self):
"""Test symbol table access with Python APIs."""
self.buildDwarf()
Modified: lldb/trunk/test/lang/objc/hidden-ivars/TestHiddenIvars.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/objc/hidden-ivars/TestHiddenIvars.py?rev=154197&r1=154196&r2=154197&view=diff
==============================================================================
--- lldb/trunk/test/lang/objc/hidden-ivars/TestHiddenIvars.py (original)
+++ lldb/trunk/test/lang/objc/hidden-ivars/TestHiddenIvars.py Fri Apr 6 14:54:10 2012
@@ -9,18 +9,22 @@
mydir = os.path.join("lang", "objc", "hidden-ivars")
+ @dsym_test
def test_expr_with_dsym(self):
self.buildDsym()
self.expr()
+ @dwarf_test
def test_expr_with_dwarf(self):
self.buildDwarf()
self.expr()
+ @dsym_test
def test_frame_variable_with_dsym(self):
self.buildDsym()
self.frame_var()
+ @dwarf_test
def test_frame_variable_with_dwarf(self):
self.buildDwarf()
self.frame_var()
Modified: lldb/trunk/test/lang/objc/objc-builtin-types/TestObjCBuiltinTypes.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/objc/objc-builtin-types/TestObjCBuiltinTypes.py?rev=154197&r1=154196&r2=154197&view=diff
==============================================================================
--- lldb/trunk/test/lang/objc/objc-builtin-types/TestObjCBuiltinTypes.py (original)
+++ lldb/trunk/test/lang/objc/objc-builtin-types/TestObjCBuiltinTypes.py Fri Apr 6 14:54:10 2012
@@ -13,12 +13,14 @@
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
@python_api_test
+ @dsym_test
def test_with_dsym_and_python_api(self):
"""Test expression parser respect for ObjC built-in types."""
self.buildDsym()
self.objc_builtin_types()
@python_api_test
+ @dwarf_test
def test_with_dwarf_and_python_api(self):
"""Test expression parser respect for ObjC built-in types."""
self.buildDwarf()
Modified: lldb/trunk/test/lang/objc/objc-checker/TestObjCCheckers.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/objc/objc-checker/TestObjCCheckers.py?rev=154197&r1=154196&r2=154197&view=diff
==============================================================================
--- lldb/trunk/test/lang/objc/objc-checker/TestObjCCheckers.py (original)
+++ lldb/trunk/test/lang/objc/objc-checker/TestObjCCheckers.py Fri Apr 6 14:54:10 2012
@@ -14,12 +14,14 @@
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
@python_api_test
+ @dsym_test
def test_objc_checker_with_dsym(self):
"""Test that checkers catch unrecognized selectors"""
self.buildDsym()
self.do_test_checkers()
@python_api_test
+ @dwarf_test
def test_objc_checker_with_dwarf(self):
"""Test that checkers catch unrecognized selectors"""
self.buildDwarf()
Modified: lldb/trunk/test/lang/objc/objc-class-method/TestObjCClassMethod.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/objc/objc-class-method/TestObjCClassMethod.py?rev=154197&r1=154196&r2=154197&view=diff
==============================================================================
--- lldb/trunk/test/lang/objc/objc-class-method/TestObjCClassMethod.py (original)
+++ lldb/trunk/test/lang/objc/objc-class-method/TestObjCClassMethod.py Fri Apr 6 14:54:10 2012
@@ -13,12 +13,14 @@
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
@python_api_test
+ @dsym_test
def test_with_dsym_and_python_api(self):
"""Test calling functions in class methods."""
self.buildDsym()
self.objc_class_method()
@python_api_test
+ @dwarf_test
def test_with_dwarf_and_python_api(self):
"""Test calling functions in class methods."""
self.buildDwarf()
Modified: lldb/trunk/test/lang/objc/objc-dynamic-value/TestObjCDynamicValue.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/objc/objc-dynamic-value/TestObjCDynamicValue.py?rev=154197&r1=154196&r2=154197&view=diff
==============================================================================
--- lldb/trunk/test/lang/objc/objc-dynamic-value/TestObjCDynamicValue.py (original)
+++ lldb/trunk/test/lang/objc/objc-dynamic-value/TestObjCDynamicValue.py Fri Apr 6 14:54:10 2012
@@ -14,6 +14,7 @@
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
@python_api_test
+ @dsym_test
def test_get_dynamic_objc_vals_with_dsym(self):
"""Test fetching ObjC dynamic values."""
if self.getArchitecture() == 'i386':
@@ -23,6 +24,7 @@
self.do_get_dynamic_vals()
@python_api_test
+ @dwarf_test
def test_get_objc_dynamic_vals_with_dwarf(self):
"""Test fetching ObjC dynamic values."""
if self.getArchitecture() == 'i386':
Modified: lldb/trunk/test/lang/objc/objc-ivar-offsets/TestObjCIvarOffsets.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/objc/objc-ivar-offsets/TestObjCIvarOffsets.py?rev=154197&r1=154196&r2=154197&view=diff
==============================================================================
--- lldb/trunk/test/lang/objc/objc-ivar-offsets/TestObjCIvarOffsets.py (original)
+++ lldb/trunk/test/lang/objc/objc-ivar-offsets/TestObjCIvarOffsets.py Fri Apr 6 14:54:10 2012
@@ -12,12 +12,14 @@
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
@python_api_test
+ @dsym_test
def test_with_dsym_and_python_api(self):
"""Test printing ObjC objects that use unbacked properties"""
self.buildDsym()
self.objc_ivar_offsets()
@python_api_test
+ @dwarf_test
def test_with_dwarf_and_python_api(self):
"""Test printing ObjC objects that use unbacked properties"""
self.buildDwarf()
Modified: lldb/trunk/test/lang/objc/objc-new-syntax/TestObjCNewSyntax.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/objc/objc-new-syntax/TestObjCNewSyntax.py?rev=154197&r1=154196&r2=154197&view=diff
==============================================================================
--- lldb/trunk/test/lang/objc/objc-new-syntax/TestObjCNewSyntax.py (original)
+++ lldb/trunk/test/lang/objc/objc-new-syntax/TestObjCNewSyntax.py Fri Apr 6 14:54:10 2012
@@ -13,10 +13,12 @@
mydir = os.path.join("lang", "objc", "objc-new-syntax")
+ @dsym_test
def test_expr_with_dsym(self):
self.buildDsym()
self.expr()
+ @dwarf_test
def test_expr_with_dwarf(self):
self.buildDwarf()
self.expr()
Modified: lldb/trunk/test/lang/objc/objc-optimized/TestObjcOptimized.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/objc/objc-optimized/TestObjcOptimized.py?rev=154197&r1=154196&r2=154197&view=diff
==============================================================================
--- lldb/trunk/test/lang/objc/objc-optimized/TestObjcOptimized.py (original)
+++ lldb/trunk/test/lang/objc/objc-optimized/TestObjcOptimized.py Fri Apr 6 14:54:10 2012
@@ -22,11 +22,13 @@
mymethod = "description"
method_spec = "-[%s %s]" % (myclass, mymethod)
+ @dsym_test
def test_break_with_dsym(self):
"""Test 'expr member' continues to work for optimized build."""
self.buildDsym()
self.objc_optimized()
+ @dwarf_test
def test_break_with_dwarf(self):
"""Test 'expr member' continues to work for optimized build."""
self.buildDwarf()
Modified: lldb/trunk/test/lang/objc/objc-property/TestObjCProperty.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/objc/objc-property/TestObjCProperty.py?rev=154197&r1=154196&r2=154197&view=diff
==============================================================================
--- lldb/trunk/test/lang/objc/objc-property/TestObjCProperty.py (original)
+++ lldb/trunk/test/lang/objc/objc-property/TestObjCProperty.py Fri Apr 6 14:54:10 2012
@@ -14,12 +14,14 @@
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
@python_api_test
+ @dsym_test
def test_objc_properties_with_dsym(self):
"""Test that expr uses the correct property getters and setters"""
self.buildDsym()
self.do_test_properties()
@python_api_test
+ @dwarf_test
def test_objc_properties_with_dwarf(self):
"""Test that expr uses the correct property getters and setters"""
self.buildDwarf()
Modified: lldb/trunk/test/lang/objc/objc-static-method/TestObjCStaticMethod.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/objc/objc-static-method/TestObjCStaticMethod.py?rev=154197&r1=154196&r2=154197&view=diff
==============================================================================
--- lldb/trunk/test/lang/objc/objc-static-method/TestObjCStaticMethod.py (original)
+++ lldb/trunk/test/lang/objc/objc-static-method/TestObjCStaticMethod.py Fri Apr 6 14:54:10 2012
@@ -12,8 +12,8 @@
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
@python_api_test
-
#<rdar://problem/9745789> "expression" can't call functions in class methods
+ @dsym_test
def test_with_dsym_and_python_api(self):
"""Test calling functions in static methods."""
self.buildDsym()
@@ -21,6 +21,7 @@
@python_api_test
#<rdar://problem/9745789> "expression" can't call functions in class methods
+ @dwarf_test
def test_with_dwarf_and_python_api(self):
"""Test calling functions in static methods."""
self.buildDwarf()
Modified: lldb/trunk/test/lang/objc/objc-stepping/TestObjCStepping.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/objc/objc-stepping/TestObjCStepping.py?rev=154197&r1=154196&r2=154197&view=diff
==============================================================================
--- lldb/trunk/test/lang/objc/objc-stepping/TestObjCStepping.py (original)
+++ lldb/trunk/test/lang/objc/objc-stepping/TestObjCStepping.py Fri Apr 6 14:54:10 2012
@@ -12,12 +12,14 @@
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
@python_api_test
+ @dsym_test
def test_with_dsym_and_python_api(self):
"""Test stepping through ObjC method dispatch in various forms."""
self.buildDsym()
self.objc_stepping()
@python_api_test
+ @dwarf_test
def test_with_dwarf_and_python_api(self):
"""Test stepping through ObjC method dispatch in various forms."""
self.buildDwarf()
Modified: lldb/trunk/test/lang/objc/print-obj/TestPrintObj.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/objc/print-obj/TestPrintObj.py?rev=154197&r1=154196&r2=154197&view=diff
==============================================================================
--- lldb/trunk/test/lang/objc/print-obj/TestPrintObj.py (original)
+++ lldb/trunk/test/lang/objc/print-obj/TestPrintObj.py Fri Apr 6 14:54:10 2012
@@ -12,6 +12,7 @@
mydir = os.path.join("lang", "objc", "print-obj")
+ @dsym_test
def test_print_obj_with_dsym(self):
"""Test "print object" where another thread blocks the print object from making progress."""
d = {'EXE': 'a.out'}
@@ -19,6 +20,7 @@
self.setTearDownCleanup(dictionary=d)
self.print_obj('a.out')
+ @dwarf_test
def test_print_obj_with_dwarf(self):
"""Test "print object" where another thread blocks the print object from making progress."""
d = {'EXE': 'b.out'}
Modified: lldb/trunk/test/lang/objc/radar-9691614/TestObjCMethodReturningBOOL.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/objc/radar-9691614/TestObjCMethodReturningBOOL.py?rev=154197&r1=154196&r2=154197&view=diff
==============================================================================
--- lldb/trunk/test/lang/objc/radar-9691614/TestObjCMethodReturningBOOL.py (original)
+++ lldb/trunk/test/lang/objc/radar-9691614/TestObjCMethodReturningBOOL.py Fri Apr 6 14:54:10 2012
@@ -12,6 +12,7 @@
mydir = os.path.join("lang", "objc", "radar-9691614")
+ @dsym_test
def test_method_ret_BOOL_with_dsym(self):
"""Test that objective-c method returning BOOL works correctly."""
d = {'EXE': self.exe_name}
@@ -19,6 +20,7 @@
self.setTearDownCleanup(dictionary=d)
self.objc_method_ret_BOOL(self.exe_name)
+ @dwarf_test
def test_method_ret_BOOL_with_dwarf(self):
"""Test that objective-c method returning BOOL works correctly."""
d = {'EXE': self.exe_name}
Modified: lldb/trunk/test/lang/objc/rdar-10967107/TestRdar10967107.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/objc/rdar-10967107/TestRdar10967107.py?rev=154197&r1=154196&r2=154197&view=diff
==============================================================================
--- lldb/trunk/test/lang/objc/rdar-10967107/TestRdar10967107.py (original)
+++ lldb/trunk/test/lang/objc/rdar-10967107/TestRdar10967107.py Fri Apr 6 14:54:10 2012
@@ -12,6 +12,7 @@
mydir = os.path.join("lang", "objc", "rdar-10967107")
+ @dsym_test
def test_cfrange_diff_cfgregoriandate_with_dsym(self):
"""Test that CoreFoundation classes CFGregorianDate and CFRange are not improperly uniqued."""
d = {'EXE': self.exe_name}
@@ -19,6 +20,7 @@
self.setTearDownCleanup(dictionary=d)
self.cfrange_diff_cfgregoriandate(self.exe_name)
+ @dwarf_test
def test_cfrange_diff_cfgregoriandate_with_dwarf(self):
"""Test that CoreFoundation classes CFGregorianDate and CFRange are not improperly uniqued."""
d = {'EXE': self.exe_name}
Modified: lldb/trunk/test/lang/objc/real-definition/TestRealDefinition.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/objc/real-definition/TestRealDefinition.py?rev=154197&r1=154196&r2=154197&view=diff
==============================================================================
--- lldb/trunk/test/lang/objc/real-definition/TestRealDefinition.py (original)
+++ lldb/trunk/test/lang/objc/real-definition/TestRealDefinition.py Fri Apr 6 14:54:10 2012
@@ -9,21 +9,25 @@
mydir = os.path.join("lang", "objc", "real-definition")
+ @dsym_test
def test_frame_var_after_stop_at_interface_with_dsym(self):
"""Test that we can find the implementation for an objective C type"""
self.buildDsym()
self.stop_at_interface()
+ @dwarf_test
def test_frame_var_after_stop_at_interface_with_dwarf(self):
"""Test that we can find the implementation for an objective C type"""
self.buildDwarf()
self.stop_at_interface()
+ @dsym_test
def test_frame_var_after_stop_at_implementation_with_dsym(self):
"""Test that we can find the implementation for an objective C type"""
self.buildDsym()
self.stop_at_implementation()
+ @dwarf_test
def test_frame_var_after_stop_at_implementation_with_dwarf(self):
"""Test that we can find the implementation for an objective C type"""
self.buildDwarf()
Modified: lldb/trunk/test/lang/objc/self/TestObjCSelf.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/objc/self/TestObjCSelf.py?rev=154197&r1=154196&r2=154197&view=diff
==============================================================================
--- lldb/trunk/test/lang/objc/self/TestObjCSelf.py (original)
+++ lldb/trunk/test/lang/objc/self/TestObjCSelf.py Fri Apr 6 14:54:10 2012
@@ -9,11 +9,13 @@
mydir = os.path.join("lang", "objc", "self")
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
+ @dsym_test
def test_with_dsym_and_run_command(self):
"""Test that the appropriate member variables are available when stopped in Objective-C class and instance methods"""
self.buildDsym()
self.self_commands()
+ @dwarf_test
def test_with_dwarf_and_run_command(self):
"""Test that the appropriate member variables are available when stopped in Objective-C class and instance methods"""
self.buildDwarf()
Modified: lldb/trunk/test/logging/TestLogging.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/logging/TestLogging.py?rev=154197&r1=154196&r2=154197&view=diff
==============================================================================
--- lldb/trunk/test/logging/TestLogging.py (original)
+++ lldb/trunk/test/logging/TestLogging.py Fri Apr 6 14:54:10 2012
@@ -12,10 +12,12 @@
mydir = "logging"
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
+ @dsym_test
def test_with_dsym (self):
self.buildDsym ()
self.command_log_tests ("dsym")
+ @dwarf_test
def test_with_dwarf (self):
self.buildDwarf ()
self.command_log_tests ("dwarf")
Modified: lldb/trunk/test/macosx/order/TestOrderFile.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/macosx/order/TestOrderFile.py?rev=154197&r1=154196&r2=154197&view=diff
==============================================================================
--- lldb/trunk/test/macosx/order/TestOrderFile.py (original)
+++ lldb/trunk/test/macosx/order/TestOrderFile.py Fri Apr 6 14:54:10 2012
@@ -13,12 +13,14 @@
mydir = os.path.join("macosx", "order")
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
+ @dsym_test
def test_with_dsym(self):
"""Test debug symbols follow the correct order by the order file."""
self.buildDsym()
self.order_file()
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
+ @dwarf_test
def test_with_dwarf(self):
"""Test debug symbols follow the correct order by the order file."""
self.buildDwarf()
Modified: lldb/trunk/test/python_api/event/TestEvents.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/python_api/event/TestEvents.py?rev=154197&r1=154196&r2=154197&view=diff
==============================================================================
--- lldb/trunk/test/python_api/event/TestEvents.py (original)
+++ lldb/trunk/test/python_api/event/TestEvents.py Fri Apr 6 14:54:10 2012
@@ -14,12 +14,14 @@
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
@python_api_test
+ @dsym_test
def test_listen_for_and_print_event_with_dsym(self):
"""Exercise SBEvent API."""
self.buildDsym()
self.do_listen_for_and_print_event()
@python_api_test
+ @dwarf_test
def test_listen_for_and_print_event_with_dwarf(self):
"""Exercise SBEvent API."""
self.buildDwarf()
@@ -27,12 +29,14 @@
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
@python_api_test
+ @dsym_test
def test_wait_for_event_with_dsym(self):
"""Exercise SBListener.WaitForEvent() API."""
self.buildDsym()
self.do_wait_for_event()
@python_api_test
+ @dwarf_test
def test_wait_for_event_with_dwarf(self):
"""Exercise SBListener.WaitForEvent() API."""
self.buildDwarf()
@@ -40,13 +44,15 @@
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
@python_api_test
- def test_add_listener_to_broadcaster_dsym(self):
+ @dsym_test
+ def test_add_listener_to_broadcaster_with_dsym(self):
"""Exercise some SBBroadcaster APIs."""
self.buildDsym()
self.do_add_listener_to_broadcaster()
@python_api_test
- def test_add_listener_to_broadcaster_dwarf(self):
+ @dwarf_test
+ def test_add_listener_to_broadcaster_with_dwarf(self):
"""Exercise some SBBroadcaster APIs."""
self.buildDwarf()
self.do_add_listener_to_broadcaster()
Modified: lldb/trunk/test/python_api/formatters/TestFormattersSBAPI.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/python_api/formatters/TestFormattersSBAPI.py?rev=154197&r1=154196&r2=154197&view=diff
==============================================================================
--- lldb/trunk/test/python_api/formatters/TestFormattersSBAPI.py (original)
+++ lldb/trunk/test/python_api/formatters/TestFormattersSBAPI.py Fri Apr 6 14:54:10 2012
@@ -11,6 +11,7 @@
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
@python_api_test
+ @dsym_test
def test_with_dsym_formatters_api(self):
"""Test Python APIs for working with formatters"""
self.buildDsym()
@@ -18,6 +19,7 @@
self.formatters()
@python_api_test
+ @dwarf_test
def test_with_dwarf_formatters_api(self):
"""Test Python APIs for working with formatters"""
self.buildDwarf()
Modified: lldb/trunk/test/python_api/frame/TestFrames.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/python_api/frame/TestFrames.py?rev=154197&r1=154196&r2=154197&view=diff
==============================================================================
--- lldb/trunk/test/python_api/frame/TestFrames.py (original)
+++ lldb/trunk/test/python_api/frame/TestFrames.py Fri Apr 6 14:54:10 2012
@@ -15,12 +15,14 @@
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
@python_api_test
+ @dsym_test
def test_get_arg_vals_for_call_stack_with_dsym(self):
"""Exercise SBFrame.GetVariables() API to get argument vals."""
self.buildDsym()
self.do_get_arg_vals()
@python_api_test
+ @dwarf_test
def test_get_arg_vals_for_call_stack_with_dwarf(self):
"""Exercise SBFrame.GetVariables() API to get argument vals."""
self.buildDwarf()
Modified: lldb/trunk/test/python_api/frame/inlines/TestInlinedFrame.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/python_api/frame/inlines/TestInlinedFrame.py?rev=154197&r1=154196&r2=154197&view=diff
==============================================================================
--- lldb/trunk/test/python_api/frame/inlines/TestInlinedFrame.py (original)
+++ lldb/trunk/test/python_api/frame/inlines/TestInlinedFrame.py Fri Apr 6 14:54:10 2012
@@ -14,12 +14,14 @@
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
@python_api_test
+ @dsym_test
def test_stop_at_outer_inline_with_dsym(self):
"""Exercise SBFrame.IsInlined() and SBFrame.GetFunctionName()."""
self.buildDsym()
self.do_stop_at_outer_inline()
@python_api_test
+ @dwarf_test
def test_stop_at_outer_inline_with_dwarf(self):
"""Exercise SBFrame.IsInlined() and SBFrame.GetFunctionName()."""
self.buildDwarf()
Modified: lldb/trunk/test/python_api/function_symbol/TestDisasmAPI.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/python_api/function_symbol/TestDisasmAPI.py?rev=154197&r1=154196&r2=154197&view=diff
==============================================================================
--- lldb/trunk/test/python_api/function_symbol/TestDisasmAPI.py (original)
+++ lldb/trunk/test/python_api/function_symbol/TestDisasmAPI.py Fri Apr 6 14:54:10 2012
@@ -14,12 +14,14 @@
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
@python_api_test
+ @dsym_test
def test_with_dsym(self):
"""Exercise getting SBAddress objects, disassembly, and SBAddress APIs."""
self.buildDsym()
self.disasm_and_address_api()
@python_api_test
+ @dwarf_test
def test_with_dwarf(self):
"""Exercise getting SBAddress objects, disassembly, and SBAddress APIs."""
self.buildDwarf()
Modified: lldb/trunk/test/python_api/function_symbol/TestSymbolAPI.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/python_api/function_symbol/TestSymbolAPI.py?rev=154197&r1=154196&r2=154197&view=diff
==============================================================================
--- lldb/trunk/test/python_api/function_symbol/TestSymbolAPI.py (original)
+++ lldb/trunk/test/python_api/function_symbol/TestSymbolAPI.py Fri Apr 6 14:54:10 2012
@@ -14,12 +14,14 @@
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
@python_api_test
+ @dsym_test
def test_with_dsym(self):
"""Exercise some SBSymbol and SBAddress APIs."""
self.buildDsym()
self.symbol_and_address_api()
@python_api_test
+ @dwarf_test
def test_with_dwarf(self):
"""Exercise some SBSymbol and SBAddress APIs."""
self.buildDwarf()
Modified: lldb/trunk/test/python_api/hello_world/TestHelloWorld.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/python_api/hello_world/TestHelloWorld.py?rev=154197&r1=154196&r2=154197&view=diff
==============================================================================
--- lldb/trunk/test/python_api/hello_world/TestHelloWorld.py (original)
+++ lldb/trunk/test/python_api/hello_world/TestHelloWorld.py Fri Apr 6 14:54:10 2012
@@ -11,6 +11,7 @@
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
@python_api_test
+ @dsym_test
def test_with_dsym_and_process_launch_api(self):
"""Create target, breakpoint, launch a process, and then kill it.
@@ -21,6 +22,7 @@
self.hello_world_python()
@python_api_test
+ @dwarf_test
def test_with_dwarf_and_process_launch_api(self):
"""Create target, breakpoint, launch a process, and then kill it.
@@ -32,6 +34,7 @@
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
@python_api_test
+ @dsym_test
def test_with_dsym_and_attach_to_process_with_id_api(self):
"""Create target, spawn a process, and attach to it with process id.
@@ -42,6 +45,7 @@
self.hello_world_attach_with_id_api()
@python_api_test
+ @dwarf_test
def test_with_dwarf_and_attach_to_process_with_id_api(self):
"""Create target, spawn a process, and attach to it with process id.
@@ -53,6 +57,7 @@
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
@python_api_test
+ @dsym_test
def test_with_dsym_and_attach_to_process_with_name_api(self):
"""Create target, spawn a process, and attach to it with process name.
@@ -63,6 +68,7 @@
self.hello_world_attach_with_name_api()
@python_api_test
+ @dwarf_test
def test_with_dwarf_and_attach_to_process_with_name_api(self):
"""Create target, spawn a process, and attach to it with process name.
Modified: lldb/trunk/test/python_api/interpreter/TestCommandInterpreterAPI.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/python_api/interpreter/TestCommandInterpreterAPI.py?rev=154197&r1=154196&r2=154197&view=diff
==============================================================================
--- lldb/trunk/test/python_api/interpreter/TestCommandInterpreterAPI.py (original)
+++ lldb/trunk/test/python_api/interpreter/TestCommandInterpreterAPI.py Fri Apr 6 14:54:10 2012
@@ -12,12 +12,14 @@
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
@python_api_test
- def test_with_dsym_and_run_command(self):
+ @dsym_test
+ def test_with_dsym_and_process_launch_api(self):
"""Test the SBCommandInterpreter APIs."""
self.buildDsym()
self.command_interpreter_api()
@python_api_test
+ @dwarf_test
def test_with_dwarf_and_process_launch_api(self):
"""Test the SBCommandInterpreter APIs."""
self.buildDwarf()
Modified: lldb/trunk/test/python_api/process/TestProcessAPI.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/python_api/process/TestProcessAPI.py?rev=154197&r1=154196&r2=154197&view=diff
==============================================================================
--- lldb/trunk/test/python_api/process/TestProcessAPI.py (original)
+++ lldb/trunk/test/python_api/process/TestProcessAPI.py Fri Apr 6 14:54:10 2012
@@ -14,12 +14,14 @@
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
@python_api_test
+ @dsym_test
def test_read_memory_with_dsym(self):
"""Test Python SBProcess.ReadMemory() API."""
self.buildDsym()
self.read_memory()
@python_api_test
+ @dwarf_test
def test_read_memory_with_dwarf(self):
"""Test Python SBProcess.ReadMemory() API."""
self.buildDwarf()
@@ -27,12 +29,14 @@
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
@python_api_test
+ @dsym_test
def test_write_memory_with_dsym(self):
"""Test Python SBProcess.WriteMemory() API."""
self.buildDsym()
self.write_memory()
@python_api_test
+ @dwarf_test
def test_write_memory_with_dwarf(self):
"""Test Python SBProcess.WriteMemory() API."""
self.buildDwarf()
@@ -40,12 +44,14 @@
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
@python_api_test
+ @dsym_test
def test_access_my_int_with_dsym(self):
"""Test access 'my_int' using Python SBProcess.GetByteOrder() and other APIs."""
self.buildDsym()
self.access_my_int()
@python_api_test
+ @dwarf_test
def test_access_my_int_with_dwarf(self):
"""Test access 'my_int' using Python SBProcess.GetByteOrder() and other APIs."""
self.buildDwarf()
Modified: lldb/trunk/test/python_api/process/io/TestProcessIO.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/python_api/process/io/TestProcessIO.py?rev=154197&r1=154196&r2=154197&view=diff
==============================================================================
--- lldb/trunk/test/python_api/process/io/TestProcessIO.py (original)
+++ lldb/trunk/test/python_api/process/io/TestProcessIO.py Fri Apr 6 14:54:10 2012
@@ -11,12 +11,14 @@
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
@python_api_test
+ @dsym_test
def test_put_stdin_with_dsym(self):
"""Exercise SBProcess.PutSTDIN()."""
self.buildDsym()
self.put_stdin()
@python_api_test
+ @dwarf_test
def test_put_stdin_with_dwarf(self):
"""Exercise SBProcess.PutSTDIN()."""
self.buildDwarf()
Modified: lldb/trunk/test/python_api/sbdata/TestSBData.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/python_api/sbdata/TestSBData.py?rev=154197&r1=154196&r2=154197&view=diff
==============================================================================
--- lldb/trunk/test/python_api/sbdata/TestSBData.py (original)
+++ lldb/trunk/test/python_api/sbdata/TestSBData.py Fri Apr 6 14:54:10 2012
@@ -13,12 +13,14 @@
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
@python_api_test
+ @dsym_test
def test_with_dsym_and_run_command(self):
"""Test the SBData APIs."""
self.buildDsym()
self.data_api()
@python_api_test
+ @dwarf_test
def test_with_dwarf_and_run_command(self):
"""Test the SBData APIs."""
self.buildDwarf()
Modified: lldb/trunk/test/python_api/symbol-context/TestSymbolContext.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/python_api/symbol-context/TestSymbolContext.py?rev=154197&r1=154196&r2=154197&view=diff
==============================================================================
--- lldb/trunk/test/python_api/symbol-context/TestSymbolContext.py (original)
+++ lldb/trunk/test/python_api/symbol-context/TestSymbolContext.py Fri Apr 6 14:54:10 2012
@@ -14,12 +14,14 @@
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
@python_api_test
+ @dsym_test
def test_with_dsym(self):
"""Exercise SBSymbolContext API extensively."""
self.buildDsym()
self.symbol_context()
@python_api_test
+ @dwarf_test
def test_with_dwarf(self):
"""Exercise SBSymbolContext API extensively."""
self.buildDwarf()
Modified: lldb/trunk/test/python_api/target/TestTargetAPI.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/python_api/target/TestTargetAPI.py?rev=154197&r1=154196&r2=154197&view=diff
==============================================================================
--- lldb/trunk/test/python_api/target/TestTargetAPI.py (original)
+++ lldb/trunk/test/python_api/target/TestTargetAPI.py Fri Apr 6 14:54:10 2012
@@ -14,6 +14,7 @@
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
@python_api_test
+ @dsym_test
def test_find_global_variables_with_dsym(self):
"""Exercise SBTaget.FindGlobalVariables() API."""
d = {'EXE': 'a.out'}
@@ -29,6 +30,7 @@
# the inferior process does not exist yet. The radar has been updated.
#@unittest232.skip("segmentation fault -- skipping")
@python_api_test
+ @dwarf_test
def test_find_global_variables_with_dwarf(self):
"""Exercise SBTarget.FindGlobalVariables() API."""
d = {'EXE': 'b.out'}
@@ -38,6 +40,7 @@
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
@python_api_test
+ @dsym_test
def test_find_functions_with_dsym(self):
"""Exercise SBTaget.FindFunctions() API."""
d = {'EXE': 'a.out'}
@@ -46,6 +49,7 @@
self.find_functions('a.out')
@python_api_test
+ @dwarf_test
def test_find_functions_with_dwarf(self):
"""Exercise SBTarget.FindFunctions() API."""
d = {'EXE': 'b.out'}
@@ -55,12 +59,14 @@
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
@python_api_test
+ @dsym_test
def test_get_description_with_dsym(self):
"""Exercise SBTaget.GetDescription() API."""
self.buildDsym()
self.get_description()
@python_api_test
+ @dwarf_test
def test_get_description_with_dwarf(self):
"""Exercise SBTarget.GetDescription() API."""
self.buildDwarf()
@@ -68,12 +74,14 @@
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
@python_api_test
+ @dsym_test
def test_launch_new_process_and_redirect_stdout_with_dsym(self):
"""Exercise SBTaget.Launch() API."""
self.buildDsym()
self.launch_new_process_and_redirect_stdout()
@python_api_test
+ @dwarf_test
def test_launch_new_process_and_redirect_stdout_with_dwarf(self):
"""Exercise SBTarget.Launch() API."""
self.buildDwarf()
@@ -81,12 +89,14 @@
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
@python_api_test
+ @dsym_test
def test_resolve_symbol_context_with_address_with_dsym(self):
"""Exercise SBTaget.ResolveSymbolContextForAddress() API."""
self.buildDsym()
self.resolve_symbol_context_with_address()
@python_api_test
+ @dwarf_test
def test_resolve_symbol_context_with_address_with_dwarf(self):
"""Exercise SBTarget.ResolveSymbolContextForAddress() API."""
self.buildDwarf()
Modified: lldb/trunk/test/python_api/thread/TestThreadAPI.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/python_api/thread/TestThreadAPI.py?rev=154197&r1=154196&r2=154197&view=diff
==============================================================================
--- lldb/trunk/test/python_api/thread/TestThreadAPI.py (original)
+++ lldb/trunk/test/python_api/thread/TestThreadAPI.py Fri Apr 6 14:54:10 2012
@@ -14,12 +14,14 @@
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
@python_api_test
+ @dsym_test
def test_get_process_with_dsym(self):
"""Test Python SBThread.GetProcess() API."""
self.buildDsym()
self.get_process()
@python_api_test
+ @dwarf_test
def test_get_process_with_dwarf(self):
"""Test Python SBThread.GetProcess() API."""
self.buildDwarf()
@@ -27,12 +29,14 @@
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
@python_api_test
+ @dsym_test
def test_get_stop_description_with_dsym(self):
"""Test Python SBThread.GetStopDescription() API."""
self.buildDsym()
self.get_stop_description()
@python_api_test
+ @dwarf_test
def test_get_stop_description_with_dwarf(self):
"""Test Python SBThread.GetStopDescription() API."""
self.buildDwarf()
@@ -40,6 +44,7 @@
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
@python_api_test
+ @dsym_test
def test_run_to_address_with_dsym(self):
"""Test Python SBThread.RunToAddress() API."""
# We build a different executable than the default buildDwarf() does.
@@ -49,6 +54,7 @@
self.run_to_address(self.exe_name)
@python_api_test
+ @dwarf_test
def test_run_to_address_with_dwarf(self):
"""Test Python SBThread.RunToAddress() API."""
# We build a different executable than the default buildDwarf() does.
@@ -59,6 +65,7 @@
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
@python_api_test
+ @dsym_test
def test_step_out_of_malloc_into_function_b_with_dsym(self):
"""Test Python SBThread.StepOut() API to step out of a malloc call where the call site is at function b()."""
# We build a different executable than the default buildDsym() does.
@@ -68,6 +75,7 @@
self.step_out_of_malloc_into_function_b(self.exe_name)
@python_api_test
+ @dwarf_test
def test_step_out_of_malloc_into_function_b_with_dwarf(self):
"""Test Python SBThread.StepOut() API to step out of a malloc call where the call site is at function b()."""
# We build a different executable than the default buildDwarf() does.
@@ -78,6 +86,7 @@
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
@python_api_test
+ @dsym_test
def test_step_over_3_times_with_dsym(self):
"""Test Python SBThread.StepOver() API."""
# We build a different executable than the default buildDsym() does.
@@ -87,6 +96,7 @@
self.step_over_3_times(self.exe_name)
@python_api_test
+ @dwarf_test
def test_step_over_3_times_with_dwarf(self):
"""Test Python SBThread.StepOver() API."""
# We build a different executable than the default buildDwarf() does.
Modified: lldb/trunk/test/python_api/type/TestTypeList.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/python_api/type/TestTypeList.py?rev=154197&r1=154196&r2=154197&view=diff
==============================================================================
--- lldb/trunk/test/python_api/type/TestTypeList.py (original)
+++ lldb/trunk/test/python_api/type/TestTypeList.py Fri Apr 6 14:54:10 2012
@@ -14,6 +14,7 @@
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
@python_api_test
+ @dsym_test
def test_with_dsym(self):
"""Exercise SBType and SBTypeList API."""
d = {'EXE': self.exe_name}
@@ -22,6 +23,7 @@
self.type_and_typelist_api(self.exe_name)
@python_api_test
+ @dwarf_test
def test_with_dwarf(self):
"""Exercise SBType and SBTypeList API."""
d = {'EXE': self.exe_name}
Modified: lldb/trunk/test/python_api/value/TestValueAPI.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/python_api/value/TestValueAPI.py?rev=154197&r1=154196&r2=154197&view=diff
==============================================================================
--- lldb/trunk/test/python_api/value/TestValueAPI.py (original)
+++ lldb/trunk/test/python_api/value/TestValueAPI.py Fri Apr 6 14:54:10 2012
@@ -14,6 +14,7 @@
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
@python_api_test
+ @dsym_test
def test_with_dsym(self):
"""Exercise some SBValue APIs."""
d = {'EXE': self.exe_name}
@@ -22,6 +23,7 @@
self.value_api(self.exe_name)
@python_api_test
+ @dwarf_test
def test_with_dwarf(self):
"""Exercise some SBValue APIs."""
d = {'EXE': self.exe_name}
Modified: lldb/trunk/test/python_api/value/change_values/TestChangeValueAPI.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/python_api/value/change_values/TestChangeValueAPI.py?rev=154197&r1=154196&r2=154197&view=diff
==============================================================================
--- lldb/trunk/test/python_api/value/change_values/TestChangeValueAPI.py (original)
+++ lldb/trunk/test/python_api/value/change_values/TestChangeValueAPI.py Fri Apr 6 14:54:10 2012
@@ -14,6 +14,7 @@
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
@python_api_test
+ @dsym_test
def test_change_value_with_dsym(self):
"""Exercise the SBValue::SetValueFromCString API."""
d = {'EXE': self.exe_name}
@@ -22,6 +23,7 @@
self.change_value_api(self.exe_name)
@python_api_test
+ @dwarf_test
def test_change_value_with_dwarf(self):
"""Exercise the SBValue::SetValueFromCString API."""
d = {'EXE': self.exe_name}
Modified: lldb/trunk/test/python_api/value/linked_list/TestValueAPILinkedList.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/python_api/value/linked_list/TestValueAPILinkedList.py?rev=154197&r1=154196&r2=154197&view=diff
==============================================================================
--- lldb/trunk/test/python_api/value/linked_list/TestValueAPILinkedList.py (original)
+++ lldb/trunk/test/python_api/value/linked_list/TestValueAPILinkedList.py Fri Apr 6 14:54:10 2012
@@ -15,6 +15,7 @@
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
@python_api_test
+ @dsym_test
def test_with_dsym(self):
"""Exercise SBValue API linked_list_iter."""
d = {'EXE': self.exe_name}
@@ -23,6 +24,7 @@
self.linked_list_api(self.exe_name)
@python_api_test
+ @dwarf_test
def test_with_dwarf(self):
"""Exercise SBValue API linked_list_iter."""
d = {'EXE': self.exe_name}
Modified: lldb/trunk/test/python_api/watchpoint/TestSetWatchpoint.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/python_api/watchpoint/TestSetWatchpoint.py?rev=154197&r1=154196&r2=154197&view=diff
==============================================================================
--- lldb/trunk/test/python_api/watchpoint/TestSetWatchpoint.py (original)
+++ lldb/trunk/test/python_api/watchpoint/TestSetWatchpoint.py Fri Apr 6 14:54:10 2012
@@ -22,12 +22,14 @@
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
@python_api_test
+ @dsym_test
def test_watch_val_with_dsym(self):
"""Exercise SBValue.Watch() API to set a watchpoint."""
self.buildDsym()
self.do_set_watchpoint()
@python_api_test
+ @dwarf_test
def test_watch_val_with_dwarf(self):
"""Exercise SBValue.Watch() API to set a watchpoint."""
self.buildDwarf()
Modified: lldb/trunk/test/python_api/watchpoint/TestWatchpointIgnoreCount.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/python_api/watchpoint/TestWatchpointIgnoreCount.py?rev=154197&r1=154196&r2=154197&view=diff
==============================================================================
--- lldb/trunk/test/python_api/watchpoint/TestWatchpointIgnoreCount.py (original)
+++ lldb/trunk/test/python_api/watchpoint/TestWatchpointIgnoreCount.py Fri Apr 6 14:54:10 2012
@@ -22,12 +22,14 @@
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
@python_api_test
+ @dsym_test
def test_set_watch_ignore_count_with_dsym(self):
"""Test SBWatchpoint.SetIgnoreCount() API."""
self.buildDsym()
self.do_watchpoint_ignore_count()
@python_api_test
+ @dwarf_test
def test_set_watch_ignore_count_with_dwarf(self):
"""Test SBWatchpoint.SetIgnoreCount() API."""
self.buildDwarf()
Modified: lldb/trunk/test/python_api/watchpoint/TestWatchpointIter.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/python_api/watchpoint/TestWatchpointIter.py?rev=154197&r1=154196&r2=154197&view=diff
==============================================================================
--- lldb/trunk/test/python_api/watchpoint/TestWatchpointIter.py (original)
+++ lldb/trunk/test/python_api/watchpoint/TestWatchpointIter.py Fri Apr 6 14:54:10 2012
@@ -22,12 +22,14 @@
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
@python_api_test
+ @dsym_test
def test_watch_iter_with_dsym(self):
"""Exercise SBTarget.watchpoint_iter() API to iterate on the available watchpoints."""
self.buildDsym()
self.do_watchpoint_iter()
@python_api_test
+ @dwarf_test
def test_watch_iter_with_dwarf(self):
"""Exercise SBTarget.watchpoint_iter() API to iterate on the available watchpoints."""
self.buildDwarf()
Modified: lldb/trunk/test/python_api/watchpoint/condition/TestWatchpointConditionAPI.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/python_api/watchpoint/condition/TestWatchpointConditionAPI.py?rev=154197&r1=154196&r2=154197&view=diff
==============================================================================
--- lldb/trunk/test/python_api/watchpoint/condition/TestWatchpointConditionAPI.py (original)
+++ lldb/trunk/test/python_api/watchpoint/condition/TestWatchpointConditionAPI.py Fri Apr 6 14:54:10 2012
@@ -26,12 +26,14 @@
self.d = {'CXX_SOURCES': self.source, 'EXE': self.exe_name}
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
+ @dsym_test
def test_watchpoint_cond_api_with_dsym(self):
"""Test watchpoint condition API."""
self.buildDsym(dictionary=self.d)
self.setTearDownCleanup(dictionary=self.d)
self.watchpoint_condition_api()
+ @dwarf_test
def test_watchpoint_cond_api_with_dwarf(self):
"""Test watchpoint condition API."""
self.buildDwarf(dictionary=self.d)
Modified: lldb/trunk/test/python_api/watchpoint/watchlocation/TestSetWatchlocation.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/python_api/watchpoint/watchlocation/TestSetWatchlocation.py?rev=154197&r1=154196&r2=154197&view=diff
==============================================================================
--- lldb/trunk/test/python_api/watchpoint/watchlocation/TestSetWatchlocation.py (original)
+++ lldb/trunk/test/python_api/watchpoint/watchlocation/TestSetWatchlocation.py Fri Apr 6 14:54:10 2012
@@ -24,12 +24,14 @@
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
@python_api_test
+ @dsym_test
def test_watch_location_with_dsym(self):
"""Exercise SBValue.WatchPointee() API to set a watchpoint."""
self.buildDsym()
self.do_set_watchlocation()
@python_api_test
+ @dwarf_test
def test_watch_location_with_dwarf(self):
"""Exercise SBValue.WatchPointee() API to set a watchpoint."""
self.buildDwarf()
Modified: lldb/trunk/test/python_api/watchpoint/watchlocation/TestTargetWatchAddress.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/python_api/watchpoint/watchlocation/TestTargetWatchAddress.py?rev=154197&r1=154196&r2=154197&view=diff
==============================================================================
--- lldb/trunk/test/python_api/watchpoint/watchlocation/TestTargetWatchAddress.py (original)
+++ lldb/trunk/test/python_api/watchpoint/watchlocation/TestTargetWatchAddress.py Fri Apr 6 14:54:10 2012
@@ -24,12 +24,14 @@
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
@python_api_test
+ @dsym_test
def test_watch_address_with_dsym(self):
"""Exercise SBTarget.WatchAddress() API to set a watchpoint."""
self.buildDsym()
self.do_set_watchaddress()
@python_api_test
+ @dwarf_test
def test_watch_address_with_dwarf(self):
"""Exercise SBTarget.WatchAddress() API to set a watchpoint."""
self.buildDwarf()
Modified: lldb/trunk/test/settings/TestSettings.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/settings/TestSettings.py?rev=154197&r1=154196&r2=154197&view=diff
==============================================================================
--- lldb/trunk/test/settings/TestSettings.py (original)
+++ lldb/trunk/test/settings/TestSettings.py Fri Apr 6 14:54:10 2012
@@ -152,11 +152,13 @@
startstr = "auto-confirm (boolean) = false")
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
+ @dsym_test
def test_run_args_and_env_vars_with_dsym(self):
"""Test that run-args and env-vars are passed to the launched process."""
self.buildDsym()
self.pass_run_args_and_env_vars()
+ @dwarf_test
def test_run_args_and_env_vars_with_dwarf(self):
"""Test that run-args and env-vars are passed to the launched process."""
self.buildDwarf()
More information about the lldb-commits
mailing list