]> granicus.if.org Git - llvm/commit
[lit] Print internal env commands
authorJoel E. Denny <jdenny.ornl@gmail.com>
Sat, 3 Aug 2019 06:08:19 +0000 (06:08 +0000)
committerJoel E. Denny <jdenny.ornl@gmail.com>
Sat, 3 Aug 2019 06:08:19 +0000 (06:08 +0000)
commit06cbc253a71daacb94bc69e3d1d3113824d9ddca
tree0090d740bda69ed2d9665483901692ccc3f1455a
parentf6207a21203cd75b27273820b8819cff9ab889dd
[lit] Print internal env commands

Without this patch, the internal `env` command removes `env` and its
args from the command line while parsing it.  This patch modifies a
copy instead so that the original command line is printed.

Reviewed By: stella.stamenova, rnk

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@367752 91177308-0d34-0410-b5e6-96231b3b80d8
utils/lit/lit/TestRunner.py
utils/lit/tests/shtest-env.py