Ejemplo n.º 1
0
from lldbsuite.test import lldbinline
from lldbsuite.test import decorators

lldbinline.MakeInlineTest(
    __file__,
    globals(),
    [
        # This is a Darwin-only failure related to incorrect expression-
        # evaluation for single-bit ObjC bitfields.
        decorators.skipUnlessDarwin,
        decorators.expectedFailureAll(
            bugnumber="rdar://problem/17990991")])
Ejemplo n.º 2
0
from lldbsuite.test import lldbinline
from lldbsuite.test import decorators

lldbinline.MakeInlineTest(__file__, globals(), [
    decorators.skipIfFreeBSD, decorators.skipIfLinux, decorators.skipIfWindows,
    decorators.skipIfNetBSD,
    decorators.skipIf(archs=["i386", "i686"])
])
from lldbsuite.test import lldbinline
from lldbsuite.test import decorators

decor = [
    decorators.skipUnlessHasCallSiteInfo,
    decorators.skipIf(dwarf_version=['<', '4']),
    decorators.skipIf(compiler="clang", compiler_version=['<', '11.0'])
]
lldbinline.MakeInlineTest(__file__,
                          globals(),
                          name="DisambiguateTailCallSeq_V5",
                          build_dict=dict(CFLAGS_EXTRAS="-O2 -glldb"),
                          decorators=decor)
lldbinline.MakeInlineTest(__file__,
                          globals(),
                          name="DisambiguateTailCallSeq_GNU",
                          build_dict=dict(CFLAGS_EXTRAS="-O2 -ggdb"),
                          decorators=decor +
                          [decorators.skipIf(debug_info="dsym")])
Ejemplo n.º 4
0
# TestSwiftFoundationTypeURLComponents.py
#
# This source file is part of the Swift.org open source project
#
# Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors
# Licensed under Apache License v2.0 with Runtime Library Exception
#
# See https://swift.org/LICENSE.txt for license information
# See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
#
# ------------------------------------------------------------------------------
import lldbsuite.test.lldbinline as lldbinline
from lldbsuite.test.decorators import *

lldbinline.MakeInlineTest(__file__,
                          globals(),
                          decorators=[
                              swiftTest, skipUnlessDarwin,
                              expectedFailureAll(bugnumber='rdar://32800121')
                          ])
from lldbsuite.test import lldbinline
from lldbsuite.test import decorators

lldbinline.MakeInlineTest(__file__, globals(),
                          [decorators.expectedFailureAll(compiler="gcc")])
Ejemplo n.º 6
0
# TestClosureShortcuts.py
#
# This source file is part of the Swift.org open source project
#
# Copyright (c) 2014 - 2018 Apple Inc. and the Swift project authors
# Licensed under Apache License v2.0 with Runtime Library Exception
#
# See https://swift.org/LICENSE.txt for license information
# See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
#
# ------------------------------------------------------------------------------
import lldbsuite.test.lldbinline as lldbinline
from lldbsuite.test.decorators import *

lldbinline.MakeInlineTest(__file__, globals(), decorators=[swiftTest])
Ejemplo n.º 7
0
import lldbsuite.test.lldbinline as lldbinline
from lldbsuite.test.decorators import *

lldbinline.MakeInlineTest(__file__, globals(), [no_debug_info_test])

Ejemplo n.º 8
0
from lldbsuite.test import lldbinline
from lldbsuite.test import decorators

decorators = [
    decorators.skipUnlessHasCallSiteInfo,
    decorators.skipIf(dwarf_version=['<', '4'])
]
lldbinline.MakeInlineTest(__file__,
                          globals(),
                          name="UnambiguousTailCalls_V5",
                          build_dict=dict(CFLAGS_EXTRAS="-O2 -glldb"),
                          decorators=decorators)
lldbinline.MakeInlineTest(__file__,
                          globals(),
                          name="UnambiguousTailCalls_GNU",
                          build_dict=dict(CFLAGS_EXTRAS="-O2 -ggdb"),
                          decorators=decorators)
Ejemplo n.º 9
0
from lldbsuite.test import lldbinline
from lldbsuite.test import decorators

decorators = [
    decorators.skipUnlessHasCallSiteInfo,
    decorators.skipIf(dwarf_version=['<', '4'])
]
lldbinline.MakeInlineTest(__file__,
                          globals(),
                          name="ArtificialFrameStepOutMessage_V5",
                          build_dict=dict(CFLAGS_EXTRAS="-O2 -glldb"),
                          decorators=decorators)
lldbinline.MakeInlineTest(__file__,
                          globals(),
                          name="ArtificialFrameStepOutMessage_GNU",
                          build_dict=dict(CFLAGS_EXTRAS="-O2 -ggdb"),
                          decorators=decorators)
Ejemplo n.º 10
0
import lldbsuite.test.lldbinline as lldbinline
from lldbsuite.test.decorators import *

lldbinline.MakeInlineTest(
    __file__,
    globals(),
    decorators=[
        skipIf(
            bugnumber="rdar://60396797",  # should work but crashes.
            setting=('symbols.use-swift-clangimporter', 'false')),
        swiftTest
    ])
Ejemplo n.º 11
0
from lldbsuite.test import lldbinline
from lldbsuite.test import decorators

lldbinline.MakeInlineTest(__file__, globals(),
                          decorators.skipIf(archs=["armv7k"]))
Ejemplo n.º 12
0
from lldbsuite.test import lldbinline
from lldbsuite.test import decorators

lldbinline.MakeInlineTest(__file__, globals(), [
    decorators.expectedFailureAll(oslist=["windows"],
                                  bugnumber="llvm.org/pr24764"),
    decorators.expectedFailureAll(bugnumber="<rdar://problem/31811802>")
])
Ejemplo n.º 13
0
from lldbsuite.test import lldbinline
from lldbsuite.test import decorators

lldbinline.MakeInlineTest(
    __file__, globals(),
    lldbinline.expectedFailureAll(oslist=["windows", "linux"]))
Ejemplo n.º 14
0
# TestSwiftFoundation.py
#
# This source file is part of the Swift.org open source project
#
# Copyright (c) 2018 Apple Inc. and the Swift project authors
# Licensed under Apache License v2.0 with Runtime Library Exception
#
# See https://swift.org/LICENSE.txt for license information
# See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
#
# ------------------------------------------------------------------------------
import lldbsuite.test.lldbinline as lldbinline
from lldbsuite.test.decorators import *

lldbinline.MakeInlineTest(__file__,
                          globals(),
                          decorators=[swiftTest, skipUnlessFoundation])
Ejemplo n.º 15
0
from lldbsuite.test import lldbinline
from lldbsuite.test import decorators

lldbinline.MakeInlineTest(__file__, globals(), [
    decorators.expectedFailureAll(bugnumber="llvm.org/pr50814", compiler="gcc")
])
Ejemplo n.º 16
0
# TestSwiftOptionSetType.py
#
# This source file is part of the Swift.org open source project
#
# Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors
# Licensed under Apache License v2.0 with Runtime Library Exception
#
# See https://swift.org/LICENSE.txt for license information
# See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
#
# ------------------------------------------------------------------------------
import lldbsuite.test.lldbinline as lldbinline
from lldbsuite.test.decorators import *

lldbinline.MakeInlineTest(__file__,
                          globals(),
                          decorators=[
                              swiftTest, skipUnlessDarwin,
                              expectedFailureAll(
                                  bugnumber="rdar://60396797",
                                  setting=('symbols.use-swift-clangimporter',
                                           'false'))
                          ])
from lldbsuite.test import lldbinline
from lldbsuite.test import decorators

decor = [
    decorators.skipUnlessHasCallSiteInfo,
    decorators.skipIf(dwarf_version=['<', '4']),
    decorators.skipIf(compiler="clang", compiler_version=['<', '11.0'])
]
lldbinline.MakeInlineTest(__file__,
                          globals(),
                          name="ArtificialFrameStepOutMessage_V5",
                          build_dict=dict(CFLAGS_EXTRAS="-O2 -glldb"),
                          decorators=decor)
lldbinline.MakeInlineTest(__file__,
                          globals(),
                          name="ArtificialFrameStepOutMessage_GNU",
                          build_dict=dict(CFLAGS_EXTRAS="-O2 -ggdb"),
                          decorators=decor +
                          [decorators.skipIf(debug_info="dsym")])
from lldbsuite.test import lldbinline
from lldbsuite.test import decorators

# https://bugs.llvm.org/show_bug.cgi?id=35920
# This test stresses expression evaluation support for template functions.
# Currently the support is rudimentary, and running this test causes assertion
# failures in clang. This test cannot be XFAIL'ed because the test harness
# treats assertion failures as unexpected events. For now, the test must be
# skipped.
lldbinline.MakeInlineTest(__file__, globals(), [decorators.skipIf])
# TestSwiftPartiallyGenericFuncClass.py
#
# This source file is part of the Swift.org open source project
#
# Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors
# Licensed under Apache License v2.0 with Runtime Library Exception
#
# See https://swift.org/LICENSE.txt for license information
# See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
#
# ------------------------------------------------------------------------------
import lldbsuite.test.lldbinline as lldbinline
from lldbsuite.test.decorators import *

lldbinline.MakeInlineTest(
    __file__,
    globals(),
    decorators=[
        swiftTest,
        skipIfLinux  # <rdar://problem/30952527>
    ])
Ejemplo n.º 20
0
from lldbsuite.test import lldbinline
from lldbsuite.test import decorators

lldbinline.MakeInlineTest(__file__, globals(),
                          [decorators.skipIf(archs=["i386", "i686"])])
Ejemplo n.º 21
0
from lldbsuite.test import lldbinline
from lldbsuite.test import decorators

lldbinline.MakeInlineTest(__file__, globals(), [
    decorators.expectedFailureAll(oslist=["windows"],
                                  bugnumber="llvm.org/pr24772")
])
Ejemplo n.º 22
0
from lldbsuite.test import lldbinline
from lldbsuite.test import decorators

decor = [
    decorators.skipUnlessHasCallSiteInfo,
    decorators.skipIf(archs=['arm'], oslist=["linux"]),
    decorators.skipIf(dwarf_version=['<', '4']),
    decorators.skipIf(compiler="clang", compiler_version=['<', '11.0'])
]
lldbinline.MakeInlineTest(__file__,
                          globals(),
                          name="UnambiguousTailCalls_V5",
                          build_dict=dict(CFLAGS_EXTRAS="-O2 -glldb"),
                          decorators=decor)
lldbinline.MakeInlineTest(__file__,
                          globals(),
                          name="UnambiguousTailCalls_GNU",
                          build_dict=dict(CFLAGS_EXTRAS="-O2 -ggdb -gdwarf-4"),
                          decorators=decor +
                          [decorators.skipIf(debug_info="dsym")])
# TestSwiftFoundationTypeUUID.py
#
# This source file is part of the Swift.org open source project
#
# Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors
# Licensed under Apache License v2.0 with Runtime Library Exception
#
# See https://swift.org/LICENSE.txt for license information
# See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
#
# ------------------------------------------------------------------------------
import lldbsuite.test.lldbinline as lldbinline
from lldbsuite.test.decorators import *

lldbinline.MakeInlineTest(
    __file__,
    globals(),
    decorators=[swiftTest, skipUnlessFoundation,
                skipIf(oslist=['windows'])])
Ejemplo n.º 24
0
import lldbsuite.test.lldbinline as lldbinline
import lldbsuite.test.lldbtest as lldbtest

lldbinline.MakeInlineTest(
    __file__, globals(), [lldbtest.expectedFailureWindows("llvm.org/pr24764")])
Ejemplo n.º 25
0
from lldbsuite.test import lldbinline
from lldbsuite.test import decorators

lldbinline.MakeInlineTest(
    __file__, globals(), [
        decorators.skipIfFreeBSD, decorators.skipIfLinux,
        decorators.skipIfWindows, decorators.skipIfNetBSD])
# TestSwiftGenericClassArg.py
#
# This source file is part of the Swift.org open source project
#
# Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors
# Licensed under Apache License v2.0 with Runtime Library Exception
#
# See https://swift.org/LICENSE.txt for license information
# See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
#
# ------------------------------------------------------------------------------
import lldbsuite.test.lldbinline as lldbinline
import lldbsuite.test.decorators as decorators

lldbinline.MakeInlineTest(__file__,
                          globals(),
                          decorators=decorators.skipUnlessDarwin)
# TestSwiftUninitializedVariable.py
#
# This source file is part of the Swift.org open source project
#
# Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors
# Licensed under Apache License v2.0 with Runtime Library Exception
#
# See https://swift.org/LICENSE.txt for license information
# See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
#
# ------------------------------------------------------------------------------
import lldbsuite.test.lldbinline as lldbinline

lldbinline.MakeInlineTest(__file__, globals())
Ejemplo n.º 28
0
from lldbsuite.test import lldbinline
from lldbsuite.test import decorators

lldbinline.MakeInlineTest(
    __file__, globals(),
    [decorators.expectedFailureAll(bugnumber="rdar://problem/32096064")])
# TestSwiftFoundationValueTypes.py
#
# This source file is part of the Swift.org open source project
#
# Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors
# Licensed under Apache License v2.0 with Runtime Library Exception
#
# See https://swift.org/LICENSE.txt for license information
# See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
#
# ------------------------------------------------------------------------------
import lldbsuite.test.lldbinline as lldbinline
from lldbsuite.test.decorators import *

lldbinline.MakeInlineTest(__file__,
                          globals(),
                          decorators=[swiftTest, skipUnlessDarwin])
Ejemplo n.º 30
0
from lldbsuite.test import lldbinline
from lldbsuite.test import decorators

lldbinline.MakeInlineTest(
    __file__,
    globals(),
    [
        decorators.expectedFailureAll(compiler="gcc"),
        # rdar://problem/48128064
        decorators.skipIfDarwin
    ])