Skip a test in TestNamespaceLookup on linux to avoid a crash
authorPavel Labath <labath@google.com>
Tue, 12 Apr 2016 10:06:37 +0000 (10:06 +0000)
committerPavel Labath <labath@google.com>
Tue, 12 Apr 2016 10:06:37 +0000 (10:06 +0000)
llvm-svn: 266054

lldb/packages/Python/lldbsuite/test/lang/cpp/namespace/TestNamespaceLookup.py

index de160d8..1e446fd 100644 (file)
@@ -159,6 +159,7 @@ class NamespaceLookupTestCase(TestBase):
 
     # NOTE: this test may fail on older systems that don't emit import
     # entries in DWARF - may need to add checks for compiler versions here.
+    @skipIf(compiler="gcc", oslist=["linux"], debug_info=["dwo"]) # Skip to avoid crash
     @expectedFailureAll(oslist=["windows", "linux", "freebsd"], bugnumber="llvm.org/pr25819")
     def test_scope_after_using_directive_lookup_with_run_command(self):
         """Test scope lookup after using directive in lldb."""