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")
@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()
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."""
@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()
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)