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")])
Exemple #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")])
Exemple #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")])
Exemple #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])
Exemple #7
0
import lldbsuite.test.lldbinline as lldbinline
from lldbsuite.test.decorators import *

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

Exemple #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)
Exemple #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)
Exemple #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
    ])
from lldbsuite.test import lldbinline
from lldbsuite.test import decorators

lldbinline.MakeInlineTest(__file__, globals(),
                          decorators.skipIf(archs=["armv7k"]))
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>")
])
from lldbsuite.test import lldbinline
from lldbsuite.test import decorators

lldbinline.MakeInlineTest(
    __file__, globals(),
    lldbinline.expectedFailureAll(oslist=["windows", "linux"]))
# 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])
Exemple #15
0
from lldbsuite.test import lldbinline
from lldbsuite.test import decorators

lldbinline.MakeInlineTest(__file__, globals(), [
    decorators.expectedFailureAll(bugnumber="llvm.org/pr50814", compiler="gcc")
])
Exemple #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>
    ])
from lldbsuite.test import lldbinline
from lldbsuite.test import decorators

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

lldbinline.MakeInlineTest(__file__, globals(), [
    decorators.expectedFailureAll(oslist=["windows"],
                                  bugnumber="llvm.org/pr24772")
])
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'])])
import lldbsuite.test.lldbinline as lldbinline
import lldbsuite.test.lldbtest as lldbtest

lldbinline.MakeInlineTest(
    __file__, globals(), [lldbtest.expectedFailureWindows("llvm.org/pr24764")])
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())
Exemple #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])
Exemple #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
    ])