OSDN Git Service

[lit] Implement non-pipelined ‘mkdir’, ‘diff’ and ‘rm’ commands internally
authorYing Yi <maggieyi666@gmail.com>
Fri, 1 Dec 2017 09:54:27 +0000 (09:54 +0000)
committerYing Yi <maggieyi666@gmail.com>
Fri, 1 Dec 2017 09:54:27 +0000 (09:54 +0000)
commitfe8f4e7b04a10f488c049ceaa6b56332e33d6fa6
treed887109d84f9de71ad0505791d8257b4fc331a7b
parentaf9296a79cc769035080c4dc41a217914c55cae7
[lit] Implement non-pipelined ‘mkdir’, ‘diff’ and ‘rm’ commands internally

Summary:
The internal shell already supports 'cd', ‘export’ and ‘echo’ commands.
This patch adds implementation of non-pipelined ‘mkdir’, ‘diff’ and ‘rm’
commands as the internal shell builtins.

Reviewed by: Zachary Turner, Reid Kleckner

Subscribers: llvm-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@319528 91177308-0d34-0410-b5e6-96231b3b80d8
19 files changed:
utils/lit/lit/TestRunner.py
utils/lit/tests/Inputs/shtest-shell/check_path.py [new file with mode: 0644]
utils/lit/tests/Inputs/shtest-shell/diff-error-0.txt [new file with mode: 0644]
utils/lit/tests/Inputs/shtest-shell/diff-error-1.txt [new file with mode: 0644]
utils/lit/tests/Inputs/shtest-shell/diff-error-2.txt [new file with mode: 0644]
utils/lit/tests/Inputs/shtest-shell/diff-error-3.txt [new file with mode: 0644]
utils/lit/tests/Inputs/shtest-shell/diff-error-4.txt [new file with mode: 0644]
utils/lit/tests/Inputs/shtest-shell/diff-error-5.txt [new file with mode: 0644]
utils/lit/tests/Inputs/shtest-shell/diff-error-6.txt [new file with mode: 0644]
utils/lit/tests/Inputs/shtest-shell/mkdir-error-0.txt [new file with mode: 0644]
utils/lit/tests/Inputs/shtest-shell/mkdir-error-1.txt [new file with mode: 0644]
utils/lit/tests/Inputs/shtest-shell/mkdir-error-2.txt [new file with mode: 0644]
utils/lit/tests/Inputs/shtest-shell/rm-error-0.txt [new file with mode: 0644]
utils/lit/tests/Inputs/shtest-shell/rm-error-1.txt [new file with mode: 0644]
utils/lit/tests/Inputs/shtest-shell/rm-error-2.txt [new file with mode: 0644]
utils/lit/tests/Inputs/shtest-shell/rm-error-3.txt [new file with mode: 0644]
utils/lit/tests/Inputs/shtest-shell/valid-shell.txt [new file with mode: 0644]
utils/lit/tests/max-failures.py
utils/lit/tests/shtest-shell.py