OSDN Git Service

[lit] Fix internal shell's argv[0] handling.
authorDaniel Dunbar <daniel@zuster.org>
Thu, 29 Aug 2013 02:52:10 +0000 (02:52 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Thu, 29 Aug 2013 02:52:10 +0000 (02:52 +0000)
commitcb4bfb340941186a0e326e4b00a88a50a86b7ff0
tree60abf37846e6e00450de4fc1664d005501b0aa06
parent4ac723b53f2eb69e604891853ca87d1e2b3ee788
[lit] Fix internal shell's argv[0] handling.

 - At least on OS X, it is important for correct behavior of /bin/[ that argv[0]
   is passed as written, and not as the full executable path.

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