[Lldb-commits] [PATCH] D68003: [dotest] Support specifying a version for skipIfOutOfTreeDebugserver

Jonas Devlieghere via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Sep 24 18:20:24 PDT 2019


JDevlieghere created this revision.
JDevlieghere added reviewers: aprantl, labath.
Herald added a subscriber: mgorny.
Herald added a reviewer: jfb.
Herald added a project: LLDB.

The `skipIfOutOfTreeDebugserver` decorator is meant to skip tests that exercise functionalities that may not be present yet in a debugserver that ships with Xcode. This is inherently tied to a version of debugserver and therefore a version should be part of the decorator. This patch extends the decorator to take an operator and a debugserver version.

This patch also removes the `--out-of-tree-debugserver` dotest flag. Instead we expect `--server` to be passed even when using a system debugserver, which is used to deduct the current version.


Repository:
  rLLDB LLDB

https://reviews.llvm.org/D68003

Files:
  lldb/packages/Python/lldbsuite/test/commands/register/register/register_command/TestRegisters.py
  lldb/packages/Python/lldbsuite/test/configuration.py
  lldb/packages/Python/lldbsuite/test/decorators.py
  lldb/packages/Python/lldbsuite/test/dotest.py
  lldb/packages/Python/lldbsuite/test/dotest_args.py
  lldb/packages/Python/lldbsuite/test/functionalities/thread/concurrent_events/TestConcurrentManyBreakpoints.py
  lldb/packages/Python/lldbsuite/test/functionalities/thread/concurrent_events/TestConcurrentManyCrash.py
  lldb/packages/Python/lldbsuite/test/functionalities/thread/concurrent_events/TestConcurrentManySignals.py
  lldb/packages/Python/lldbsuite/test/functionalities/thread/concurrent_events/TestConcurrentManyWatchpoints.py
  lldb/packages/Python/lldbsuite/test/lldbtest.py
  lldb/packages/Python/lldbsuite/test/tools/lldb-server/register-reading/TestGdbRemoteGPacket.py
  lldb/test/CMakeLists.txt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68003.221649.patch
Type: text/x-patch
Size: 9722 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20190925/22deaa0a/attachment-0001.bin>


More information about the lldb-commits mailing list