[Lldb-commits] [PATCH] D48641: Skip core file tests on build configurations lacking necessary components

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Jun 27 05:56:06 PDT 2018


labath created this revision.
labath added reviewers: clayborg, jingham.

To successfully open a core file, we need to have LLVM built with
support for the relevant target. Right now, if one does not have the
appropriate targets configured, the tests will fail.

This patch uses the GetBuildConfiguration SB API to inform the test (and
anyone else who cares) about the list of supported LLVM targets. The
test then uses this information to approriately skip the tests.


https://reviews.llvm.org/D48641

Files:
  packages/Python/lldbsuite/test/decorators.py
  packages/Python/lldbsuite/test/functionalities/postmortem/elf-core/TestLinuxCore.py
  source/API/SBDebugger.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48641.153062.patch
Type: text/x-patch
Size: 6012 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20180627/b40eea96/attachment.bin>


More information about the lldb-commits mailing list