Files
clang-p2996/lldb/test/API/lang/objc/objc_direct-methods/TestObjCDirectMethods.py
Felipe de Azevedo Piovezan c413df064e [lldb-tests] Force use of system stdlib for Objective-C test
The test TestObjCDirectMethods loads the Objective C runtime, which
doesn't work well with custom a libcxx, resulting in two copies of the
standard library being loaded at runtime.

Like what was done for `TestObjCExceptions`, this commit forces the
usage of the system's library instead. The minimum required Clang
version is set to the oldest Clang that can compile the libraries
available in the lldb-matrix bots.

Differential Revision: https://reviews.llvm.org/D136600
2022-10-24 12:39:48 -04:00

7 lines
214 B
Python

from lldbsuite.test import lldbinline
from lldbsuite.test import decorators
decor = [decorators.skipIf(compiler="clang", compiler_version=['<', '13.0'])]
lldbinline.MakeInlineTest(
__file__, globals(), decor)