[all-commits] [llvm/llvm-project] e91a73: [Lit] Add pushd and popd builtins

David Goldman via All-commits all-commits at lists.llvm.org
Thu May 12 16:25:37 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e91a73de24d60954700d7ac0293c050ab2cbe90b
      https://github.com/llvm/llvm-project/commit/e91a73de24d60954700d7ac0293c050ab2cbe90b
  Author: David Goldman <davg at google.com>
  Date:   2022-05-12 (Thu, 12 May 2022)

  Changed paths:
    M llvm/utils/lit/lit/TestRunner.py
    A llvm/utils/lit/tests/Inputs/shtest-pushd-popd/lit.cfg
    A llvm/utils/lit/tests/Inputs/shtest-pushd-popd/popd-args.txt
    A llvm/utils/lit/tests/Inputs/shtest-pushd-popd/popd-no-stack.txt
    A llvm/utils/lit/tests/Inputs/shtest-pushd-popd/pushd-popd-ok.txt
    A llvm/utils/lit/tests/Inputs/shtest-pushd-popd/pushd-too-many-args.txt
    A llvm/utils/lit/tests/shtest-pushd-popd.py

  Log Message:
  -----------
  [Lit] Add pushd and popd builtins

This behaves just like the sh/cmd.exe equivalents.

pushd/popd are useful to verify path handling of the driver,
typically testing prefix maps or relative path handling.

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




More information about the All-commits mailing list