[all-commits] [llvm/llvm-project] 3a094d: [Dexter] Allow tests to specify command line options

Jeremy Morse via All-commits all-commits at lists.llvm.org
Mon Jan 10 03:30:22 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3a094d8b272c15aa329db92d85c6d483004b4f6e
      https://github.com/llvm/llvm-project/commit/3a094d8b272c15aa329db92d85c6d483004b4f6e
  Author: Jeremy Morse <jeremy.morse at sony.com>
  Date:   2022-01-10 (Mon, 10 Jan 2022)

  Changed paths:
    M cross-project-tests/debuginfo-tests/dexter/Commands.md
    M cross-project-tests/debuginfo-tests/dexter/dex/command/ParseCommand.py
    A cross-project-tests/debuginfo-tests/dexter/dex/command/commands/DexCommandLine.py
    M cross-project-tests/debuginfo-tests/dexter/dex/debugger/DebuggerControllers/ConditionalController.py
    M cross-project-tests/debuginfo-tests/dexter/dex/debugger/DebuggerControllers/DebuggerControllerBase.py
    M cross-project-tests/debuginfo-tests/dexter/dex/debugger/DebuggerControllers/DefaultController.py
    M cross-project-tests/debuginfo-tests/dexter/dex/debugger/dbgeng/dbgeng.py
    M cross-project-tests/debuginfo-tests/dexter/dex/debugger/lldb/LLDB.py
    M cross-project-tests/debuginfo-tests/dexter/dex/debugger/visualstudio/VisualStudio.py
    A cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/command_line.c

  Log Message:
  -----------
  [Dexter] Allow tests to specify command line options

This patch adds a "DexCommandLine" command, allowing dexter tests to
specify what command line options the test should be started with. I've
also plumbed it through into the debuggers.

This eases the matter of pointing Dexter at larger tests, or controlling
different paths through a single binary from a Dexter test.

Differential Revision: https://reviews.llvm.org/D115330




More information about the All-commits mailing list