[Lldb-commits] [lldb] r233717 - TestPrintStackTraces - made XFAIL more precise

Vince Harron vince at nethacker.com
Tue Mar 31 10:45:54 PDT 2015


Author: vharron
Date: Tue Mar 31 12:45:54 2015
New Revision: 233717

URL: http://llvm.org/viewvc/llvm-project?rev=233717&view=rev
Log:
TestPrintStackTraces - made XFAIL more precise

Works with x86_64 inferior, fails w/i386 inferior - updated test to
reflect


Modified:
    lldb/trunk/test/python_api/lldbutil/process/TestPrintStackTraces.py

Modified: lldb/trunk/test/python_api/lldbutil/process/TestPrintStackTraces.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/python_api/lldbutil/process/TestPrintStackTraces.py?rev=233717&r1=233716&r2=233717&view=diff
==============================================================================
--- lldb/trunk/test/python_api/lldbutil/process/TestPrintStackTraces.py (original)
+++ lldb/trunk/test/python_api/lldbutil/process/TestPrintStackTraces.py Tue Mar 31 12:45:54 2015
@@ -18,7 +18,10 @@ class ThreadsStackTracesTestCase(TestBas
         # Find the line number to break inside main().
         self.line = line_number('main.cpp', '// Set break point at this line.')
 
-    @expectedFailureLinux # llvm.org/pr15415 -- partial stack trace in thread 1 (while stopped inside a read() call)
+    # llvm.org/pr23043 - leaving the next two lines in so it's easy to find this 
+    # test will appear when searching for expectedFailure(Linux|i386)
+    #@expectedFailureLinux
+    #@expectedFailurei386
     @python_api_test
     def test_stack_traces(self):
         """Test SBprocess and SBThread APIs with printing of the stack traces."""
@@ -27,6 +30,9 @@ class ThreadsStackTracesTestCase(TestBas
 
     def break_and_print_stacktraces(self):
         """Break at main.cpp:68 and do a threads dump"""
+        if self.getArchitecture() in ['i386'] and "linux" in sys.platform:
+            self.skipTest("Skipping because this test is known to fail on i386 Linux")
+
         exe = os.path.join(os.getcwd(), "a.out")
 
         target = self.dbg.CreateTarget(exe)





More information about the lldb-commits mailing list