[all-commits] [llvm/llvm-project] 1b7532: Fix breakpoint-command.test when no script interpr...

Mitch Phillips via All-commits all-commits at lists.llvm.org
Mon Dec 12 14:13:20 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1b753240d50a930c12c42e2f230804db3dccde96
      https://github.com/llvm/llvm-project/commit/1b753240d50a930c12c42e2f230804db3dccde96
  Author: Mitch Phillips <31459023+hctim at users.noreply.github.com>
  Date:   2022-12-12 (Mon, 12 Dec 2022)

  Changed paths:
    M lldb/test/Shell/Breakpoint/breakpoint-command.test

  Log Message:
  -----------
  Fix breakpoint-command.test when no script interpreter is compiled in.

My local build is with -DLLVM_ENABLE_PROJECTS=lldb, but I don't compile
with -DLLDB_ENABLE_PYTHON=True or -DLLDB_ENABLE_LUA=True. This results
in there being no script interpreter.

The test lldb/test/Shell/Breakpoint/breakpoint-command.test has an
implicit dependency on a script interpreter being available.

This patch makes that dependency clear. If you have a script
interpreter, the test gets run, otherwise it gets skipped. This means
that folks (like me) who naively use -DLLVM_ENABLE_PROJECTS=lldb can
continue to run check-all without breakages.

Reviewed By: JDevlieghere

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




More information about the All-commits mailing list