Add expectedFailureLinux to TestProcessAttach
authorPavel Labath <labath@google.com>
Thu, 30 Apr 2015 11:00:15 +0000 (11:00 +0000)
committerPavel Labath <labath@google.com>
Thu, 30 Apr 2015 11:00:15 +0000 (11:00 +0000)
The test is skipped anyway due to timeout, but adding XFAIL improves grepability.

llvm-svn: 236224

lldb/test/functionalities/process_attach/TestProcessAttach.py

index 4a9d992..42b893f 100644 (file)
@@ -22,7 +22,9 @@ class ProcessAttachTestCase(TestBase):
         self.process_attach_by_id()
 
     @dwarf_test
-    @skipIfLinux # llvm.org/pr23360
+    #Make sure this test appears when grepping for XFAIL. It is also skipped because it tends to time out.
+    @expectedFailureLinux # llvm.org/pr23360
+    @skipIfLinux 
     def test_attach_to_process_by_id_with_dwarf(self):
         """Test attach by process id"""
         self.buildDwarf()
@@ -36,7 +38,9 @@ class ProcessAttachTestCase(TestBase):
         self.process_attach_by_name()
 
     @dwarf_test
-    @skipIfLinux # llvm.org/pr23360
+    #Make sure this test appears when grepping for XFAIL. It is also skipped because it tends to time out.
+    @expectedFailureLinux # llvm.org/pr23360
+    @skipIfLinux 
     def test_attach_to_process_by_name_with_dwarf(self):
         """Test attach by process name"""
         self.buildDwarf()