[test] Replace some references to Apple-internal bugs

This removes around 10 references to Apple-internal radars. I've filed
fresh bugs on bugs.llvm.org as appropriate for open issues.

llvm-svn: 327463
This commit is contained in:
Vedant Kumar 2018-03-13 23:37:11 +00:00
parent 9ca7e67c4c
commit 48ffd5cc6e
10 changed files with 14 additions and 32 deletions

View File

@ -18,17 +18,9 @@ class TestMultipleSimultaneousDebuggers(TestBase):
mydir = TestBase.compute_mydir(__file__)
# This test case fails non-deterministically.
@skipIfNoSBHeaders
@expectedFailureAll(bugnumber="rdar://30564102")
@expectedFailureAll(
archs="i[3-6]86",
bugnumber="multi-process-driver.cpp creates an x64 target")
@expectedFailureAll(
oslist=[
"windows",
"linux",
"freebsd"],
bugnumber="llvm.org/pr20282")
@expectedFailureAll(bugnumber="llvm.org/pr20282")
def test_multiple_debuggers(self):
env = {self.dylibPath: self.getLLDBLibraryEnvVal()}

View File

@ -24,7 +24,7 @@ class AsanTestReportDataCase(TestBase):
@skipIfFreeBSD # llvm.org/pr21136 runtimes not yet available by default
@skipIfRemote
@skipUnlessAddressSanitizer
@expectedFailureAll(archs=['i386'], bugnumber="rdar://28658860")
@skipIf(archs=['i386'], bugnumber="llvm.org/PR36710")
def test(self):
self.build()
self.asan_tests()

View File

@ -18,13 +18,13 @@ class WatchedVariableHitWhenInScopeTestCase(TestBase):
mydir = TestBase.compute_mydir(__file__)
#
# This test depends on not tracking watchpoint expression hits if we have
# left the watchpoint scope. We will provide such an ability at some point
# but the way this was done was incorrect, and it is unclear that for the
# most part that's not what folks mostly want, so we have to provide a
# clearer API to express this.
#
# This functionality is currently unsupported on Darwin.
def setUp(self):
# Call super's setUp().
@ -36,7 +36,7 @@ class WatchedVariableHitWhenInScopeTestCase(TestBase):
# Test hangs due to a kernel bug, see fdfeff0f in the linux kernel for details
@skipIfTargetAndroid(api_levels=list(range(25+1)), archs=["aarch64", "arm"])
@unittest2.expectedFailure("rdar://problem/18685649")
@skipIfDarwin
def test_watched_var_should_only_hit_when_in_scope(self):
"""Test that a variable watchpoint should only hit when in scope."""
self.build(dictionary=self.d)

View File

@ -45,7 +45,7 @@ class SharedLibTestCase(TestBase):
"""Test that types work when defined in a shared library and forward-declared in the main executable, but with preloading disabled"""
self.common_test_expr(False)
@unittest2.expectedFailure("rdar://problem/10704639")
@unittest2.expectedFailure("llvm.org/PR36712")
def test_frame_variable(self):
"""Test that types work when defined in a shared library and forward-declared in the main executable"""
self.build()

View File

@ -16,7 +16,7 @@ class SharedLibStrippedTestCase(TestBase):
@expectedFailureAll(oslist=["windows"])
def test_expr(self):
"""Test that types work when defined in a shared library and forward-declared in the main executable"""
"""Test that types work when defined in a shared library and forwa/d-declared in the main executable"""
if "clang" in self.getCompiler() and "3.4" in self.getCompilerVersion():
self.skipTest(
"llvm.org/pr16214 -- clang emits partial DWARF for structures referenced via typedef")
@ -34,7 +34,7 @@ class SharedLibStrippedTestCase(TestBase):
"other_element = 3"])
@expectedFailureAll(oslist=["windows"])
@unittest2.expectedFailure("rdar://problem/10381325")
@unittest2.expectedFailure("llvm.org/PR36712")
def test_frame_variable(self):
"""Test that types work when defined in a shared library and forward-declared in the main executable"""
self.build()

View File

@ -19,8 +19,7 @@ class CppValueCastTestCase(TestBase):
mydir = TestBase.compute_mydir(__file__)
@unittest2.expectedFailure(
"rdar://problem/10808472 SBValue::Cast test case is failing (virtual inheritance)")
@skipIf(bugnumber="llvm.org/PR36714")
@add_test_categories(['pyapi'])
def test_value_cast_with_virtual_inheritance(self):
"""Test SBValue::Cast(SBType) API for C++ types with virtual inheritance."""

View File

@ -4,4 +4,4 @@ from lldbsuite.test import decorators
lldbinline.MakeInlineTest(
__file__, globals(), [
decorators.expectedFailureAll(
bugnumber="rdar://problem/24599697")])
bugnumber="llvm.org/PR36715")])

View File

@ -26,7 +26,7 @@ class STLTestCase(TestBase):
self.line = line_number(
self.source, '// Set break point at this line.')
@expectedFailureAll(bugnumber="rdar://problem/10400981")
@expectedFailureAll(bugnumber="llvm.org/PR36713")
def test(self):
"""Test some expressions involving STL data types."""
self.build()
@ -38,9 +38,6 @@ class STLTestCase(TestBase):
self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
# rdar://problem/8543077
# test/stl: clang built binaries results in the breakpoint locations = 3,
# is this a problem with clang generated debug info?
lldbutil.run_break_set_by_file_and_line(
self, "main.cpp", self.line, num_expected_locations=1, loc_exact=True)
@ -60,8 +57,6 @@ class STLTestCase(TestBase):
self.runCmd(
'expr for (int i = 0; i < hello_world.length(); ++i) { (void)printf("%c\\n", hello_world[i]); }')
# rdar://problem/10373783
# rdar://problem/10400981
self.expect('expr associative_array.size()',
substrs=[' = 3'])
self.expect('expr associative_array.count(hello_world)',

View File

@ -28,10 +28,6 @@ class UniqueTypesTestCase(TestBase):
compiler = self.getCompiler()
compiler_basename = os.path.basename(compiler)
if "clang" in compiler_basename and int(
self.getCompilerVersion().split('.')[0]) < 3:
self.skipTest(
"rdar://problem/9173060 lldb hangs while running unique-types for clang version < 3")
exe = self.getBuildArtifact("a.out")
self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)

View File

@ -5,8 +5,8 @@ lldbinline.MakeInlineTest(
__file__,
globals(),
[
decorators.skipIfFreeBSD,
decorators.skipIfLinux,
decorators.skipIfWindows,
# This is a Darwin-only failure related to incorrect expresssion-
# evaluation for single-bit ObjC bitfields.
decorators.skipUnlessDarwin,
decorators.expectedFailureAll(
bugnumber="rdar://problem/17990991")])