Flipped intermittent test failures from skip to XFAIL.
authorTodd Fiala <todd.fiala@gmail.com>
Thu, 10 Jul 2014 20:52:08 +0000 (20:52 +0000)
committerTodd Fiala <todd.fiala@gmail.com>
Thu, 10 Jul 2014 20:52:08 +0000 (20:52 +0000)
The following intermittently-failing tests have been flipped from
skip to XFAIL on some combo of Linux and MacOSX:

TestCallStopAndContinue.py (Linux, MacOSX)
TestCallWithTimeout.py (Linux)
TestConvenienceVariables.py (Linux)
TestStopHookMultipleThreads.py (Linux)

The following new tests have been marked XFAIL but are just
intermittently failing:

TestMultipleDebug.py (definitely intermittent on MacOSX, not sure I've seen
it pass yet on Linux)

llvm-svn: 212762

lldb/test/api/multiple-debuggers/TestMultipleDebuggers.py
lldb/test/expression_command/call-function/TestCallStopAndContinue.py
lldb/test/expression_command/timeout/TestCallWithTimeout.py
lldb/test/functionalities/embedded_interpreter/TestConvenienceVariables.py
lldb/test/functionalities/stop-hook/multiple_threads/TestStopHookMultipleThreads.py

index 1684e35..4224001 100644 (file)
@@ -16,6 +16,8 @@ class TestMultipleSimultaneousDebuggers(TestBase):
         self.lib_dir = os.environ["LLDB_LIB_DIR"]
 
     @skipIfi386
+    @expectedFailureDarwin("llvm.org/pr20282") # intermittent
+    @expectedFailureLinux("llvm.org/pr20282")
     def test_multiple_debuggers(self):
 
         self.driver_exe = os.path.join(os.getcwd(), "multi-process-driver")
index d3bb94a..053eebf 100644 (file)
@@ -22,15 +22,15 @@ class ExprCommandCallStopContinueTestCase(TestBase):
 
     @unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
     @dsym_test
-    @skipIfDarwin  # see llvm.org/pr20274 - intermittent failure on MacOSX
+    @expectedFailureDarwin("llvm.org/pr20274") # intermittent failure on MacOSX
     def test_with_dsym(self):
         """Test gathering result from interrupted function call."""
         self.buildDsym()
         self.call_function()
 
     @dwarf_test
-    @skipIfDarwin  # see llvm.org/pr20274 - intermittent failure on MacOSX
-    @skipIfLinux   # see llvm.org/pr20274 - intermittent failure on Linux
+    @expectedFailureDarwin("llvm.org/pr20274") # intermittent failure on MacOSX
+    @expectedFailureLinux("llvm.org/pr20274") # intermittent failure on Linux
     def test_with_dwarf(self):
         """Test gathering result from interrupted function call."""
         self.buildDwarf()
index e3ed83d..aeb6834 100644 (file)
@@ -27,7 +27,7 @@ class ExprCommandWithTimeoutsTestCase(TestBase):
         self.call_function()
 
     @expectedFailureFreeBSD("llvm.org/pr19605") # fails on buildbot
-    @skipIfLinux # llvm.org/pr20275 - fails intermittently on Linux
+    @expectedFailureLinux("llvm.org/pr20275") # fails intermittently on Linux
     @dwarf_test
     def test_with_dwarf(self):
         """Test calling std::String member function."""
index 1325483..6892610 100644 (file)
@@ -19,7 +19,7 @@ class ConvenienceVariablesCase(TestBase):
 
     @dwarf_test
     @skipIfFreeBSD # llvm.org/pr17228
-    @skipIfLinux   # llvm.org/pr20276
+    @expectedFailureLinux("llvm.org/pr20276") # intermittent failure on Linux
     def test_with_dwarf_and_run_commands(self):
         """Test convenience variables lldb.debugger, lldb.target, lldb.process, lldb.thread, and lldb.frame."""
         self.buildDwarf()
index 86410e4..7fd553a 100644 (file)
@@ -21,7 +21,7 @@ class StopHookForMultipleThreadsTestCase(TestBase):
         self.stop_hook_multiple_threads()
 
     @dwarf_test
-    @skipIfLinux # llvm.org/pr15037 stop hooks sometimes fail to fire on Linux (cannot mark XFAIL, sometimes it passes)
+    @expectedFailureLinux("llvm.org/pr15037") # stop hooks sometimes fail to fire on Linux
     def test_stop_hook_multiple_threads_with_dwarf(self):
         """Test that lldb stop-hook works for multiple threads."""
         self.buildDwarf(dictionary=self.d)