diff options
author | Adrian McCarthy <amccarth@google.com> | 2015-10-21 14:42:10 +0000 |
---|---|---|
committer | Adrian McCarthy <amccarth@google.com> | 2015-10-21 14:42:10 +0000 |
commit | da9b90ce115f64210f9f428f7c3a8ae78a211a6c (patch) | |
tree | dc2c3662a80f3b73045541e7f98477f36d63103d | |
parent | b0d5dd0199be83a37245d47fd62609aa9917d465 (diff) | |
download | bcm5719-llvm-da9b90ce115f64210f9f428f7c3a8ae78a211a6c.tar.gz bcm5719-llvm-da9b90ce115f64210f9f428f7c3a8ae78a211a6c.zip |
Skip TestMultithreaded on Windows.
Differential Revision: http://reviews.llvm.org/D13923
llvm-svn: 250899
-rw-r--r-- | lldb/test/api/multithreaded/TestMultithreaded.py | 25 |
1 files changed, 11 insertions, 14 deletions
diff --git a/lldb/test/api/multithreaded/TestMultithreaded.py b/lldb/test/api/multithreaded/TestMultithreaded.py index d57b987b569..d0cbd8d93d6 100644 --- a/lldb/test/api/multithreaded/TestMultithreaded.py +++ b/lldb/test/api/multithreaded/TestMultithreaded.py @@ -1,4 +1,4 @@ -"""Test the lldb public C++ api breakpoint callbacks. """ +"""Test the lldb public C++ api breakpoint callbacks.""" import os, re, StringIO import unittest2 @@ -10,19 +10,10 @@ class SBBreakpointCallbackCase(TestBase): mydir = TestBase.compute_mydir(__file__) - def setUp(self): - TestBase.setUp(self) - self.lib_dir = os.environ["LLDB_LIB_DIR"] - self.implib_dir = os.environ["LLDB_IMPLIB_DIR"] - self.inferior = 'inferior_program' - if self.getLldbArchitecture() == self.getArchitecture(): - self.buildProgram('inferior.cpp', self.inferior) - self.addTearDownHook(lambda: os.remove(self.inferior)) - @skipIfRemote @skipIfNoSBHeaders + @skipIfWindows # clang-cl does not support throw or catch (llvm.org/pr24538) @expectedFailureAll("llvm.org/pr23139", oslist=["linux"], compiler="gcc", compiler_version=[">=","4.9"], archs=["x86_64"]) - @expectedFailureWindows("llvm.org/pr24538") # clang-cl does not support throw or catch def test_breakpoint_callback(self): """Test the that SBBreakpoint callback is invoked when a breakpoint is hit. """ self.build_and_test('driver.cpp test_breakpoint_callback.cpp', @@ -30,9 +21,9 @@ class SBBreakpointCallbackCase(TestBase): @skipIfRemote @skipIfNoSBHeaders + @skipIfWindows # clang-cl does not support throw or catch (llvm.org/pr24538) @expectedFlakeyFreeBSD @expectedFailureAll("llvm.org/pr23139", oslist=["linux"], compiler="gcc", compiler_version=[">=","4.9"], archs=["x86_64"]) - @expectedFailureWindows("llvm.org/pr24538") # clang-cl does not support throw or catch def test_sb_api_listener_event_description(self): """ Test the description of an SBListener breakpoint event is valid.""" self.build_and_test('driver.cpp listener_test.cpp test_listener_event_description.cpp', @@ -41,10 +32,10 @@ class SBBreakpointCallbackCase(TestBase): @skipIfRemote @skipIfNoSBHeaders + @skipIfWindows # clang-cl does not support throw or catch (llvm.org/pr24538) @expectedFlakeyFreeBSD @expectedFlakeyLinux # Driver occasionally returns '1' as exit status @expectedFailureAll("llvm.org/pr23139", oslist=["linux"], compiler="gcc", compiler_version=[">=","4.9"], archs=["x86_64"]) - @expectedFailureWindows("llvm.org/pr24538") # clang-cl does not support throw or catch def test_sb_api_listener_event_process_state(self): """ Test that a registered SBListener receives events when a process changes state. @@ -56,9 +47,9 @@ class SBBreakpointCallbackCase(TestBase): @skipIfRemote @skipIfNoSBHeaders + @skipIfWindows # clang-cl does not support throw or catch (llvm.org/pr24538) @expectedFlakeyFreeBSD @expectedFailureAll("llvm.org/pr23139", oslist=["linux"], compiler="gcc", compiler_version=[">=","4.8"], archs=["x86_64"]) - @expectedFailureWindows("llvm.org/pr24538") # clang-cl does not support throw or catch def test_sb_api_listener_resume(self): """ Test that a process can be resumed from a non-main thread. """ self.build_and_test('driver.cpp listener_test.cpp test_listener_resume.cpp', @@ -75,6 +66,12 @@ class SBBreakpointCallbackCase(TestBase): if self.getLldbArchitecture() != self.getArchitecture(): self.skipTest("This test is only run if the target arch is the same as the lldb binary arch") + self.lib_dir = os.environ["LLDB_LIB_DIR"] + self.implib_dir = os.environ["LLDB_IMPLIB_DIR"] + self.inferior = 'inferior_program' + self.buildProgram('inferior.cpp', self.inferior) + self.addTearDownHook(lambda: os.remove(self.inferior)) + self.buildDriver(sources, test_name) self.addTearDownHook(lambda: os.remove(test_name)) |