From ed1d075d7877232223e6954d402b3f1ba228687d Mon Sep 17 00:00:00 2001 From: Enrico Granata Date: Fri, 17 Oct 2014 00:47:44 +0000 Subject: [PATCH] Add a few more bug IDs for x'fail test cases llvm-svn: 220003 --- .../variable_out_of_scope/TestWatchedVarHitWhenInScope.py | 4 ++-- lldb/test/lang/c/shared_lib/TestSharedLib.py | 3 +-- lldb/test/lang/cpp/rvalue-references/TestRvalueReferences.py | 9 ++++----- 3 files changed, 7 insertions(+), 9 deletions(-) diff --git a/lldb/test/functionalities/watchpoint/variable_out_of_scope/TestWatchedVarHitWhenInScope.py b/lldb/test/functionalities/watchpoint/variable_out_of_scope/TestWatchedVarHitWhenInScope.py index c35220d..5f9a7f1 100644 --- a/lldb/test/functionalities/watchpoint/variable_out_of_scope/TestWatchedVarHitWhenInScope.py +++ b/lldb/test/functionalities/watchpoint/variable_out_of_scope/TestWatchedVarHitWhenInScope.py @@ -21,14 +21,14 @@ class WatchedVariableHitWhenInScopeTestCase(TestBase): # @dsym_test - @unittest2.expectedFailure + @unittest2.expectedFailure("rdar://problem/18685649") def test_watched_var_should_only_hit_when_in_scope_with_dsym(self): """Test that a variable watchpoint should only hit when in scope.""" self.buildDsym(dictionary=self.d) self.setTearDownCleanup(dictionary=self.d) self.watched_var() - @unittest2.expectedFailure + @unittest2.expectedFailure("rdar://problem/18685649") @dwarf_test def test_watched_var_should_only_hit_when_in_scope_with_dwarf(self): """Test that a variable watchpoint should only hit when in scope.""" diff --git a/lldb/test/lang/c/shared_lib/TestSharedLib.py b/lldb/test/lang/c/shared_lib/TestSharedLib.py index c5af5bd..ed06a42 100644 --- a/lldb/test/lang/c/shared_lib/TestSharedLib.py +++ b/lldb/test/lang/c/shared_lib/TestSharedLib.py @@ -76,8 +76,7 @@ class SharedLibTestCase(TestBase): self.expect("expression --show-types -- *my_foo_ptr", VARIABLES_DISPLAYED_CORRECTLY, substrs = ["(foo)", "(sub_foo)", "other_element = 3"]) - @unittest2.expectedFailure - # rdar://problem/10381325 + @unittest2.expectedFailure("rdar://problem/10381325") def frame_var(self): """Test that types work when defined in a shared library and forward-declared in the main executable""" self.common_setup() diff --git a/lldb/test/lang/cpp/rvalue-references/TestRvalueReferences.py b/lldb/test/lang/cpp/rvalue-references/TestRvalueReferences.py index 803f7be..9b00f90 100644 --- a/lldb/test/lang/cpp/rvalue-references/TestRvalueReferences.py +++ b/lldb/test/lang/cpp/rvalue-references/TestRvalueReferences.py @@ -11,8 +11,7 @@ class RvalueReferencesTestCase(TestBase): mydir = TestBase.compute_mydir(__file__) @unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin") - #rdar://problem/11479676 - @expectedFailureClang + @expectedFailureClang("rdar://problem/11479676") @dsym_test def test_with_dsym_and_run_command(self): """Test that rvalues are supported in the C++ expression parser""" @@ -20,9 +19,9 @@ class RvalueReferencesTestCase(TestBase): self.static_method_commands() #rdar://problem/11479676 - @expectedFailureClang # pr16762: Expression evaluation of an rvalue-reference does not show the correct type. - @expectedFailureGcc # GCC (4.7) does not emit correct DWARF tags for rvalue-references - @expectedFailureIcc # ICC (13.1, 14-beta) do not emit DW_TAG_rvalue_reference_type. + @expectedFailureClang("rdar://problem/11479676 pr16762: Expression evaluation of an rvalue-reference does not show the correct type.") + @expectedFailureGcc("GCC (4.7) does not emit correct DWARF tags for rvalue-references") + @expectedFailureIcc("ICC (13.1, 14-beta) do not emit DW_TAG_rvalue_reference_type.") @dwarf_test def test_with_dwarf_and_run_command(self): """Test that rvalues are supported in the C++ expression parser""" -- 2.7.4