Ying Yi
cfb08e9e6b
[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
llvm-svn: 319528
2017-12-01 09:54:27 +00:00
Ying Yi
a0903c6e5d
Reverted rL318911 since it broke the sanitizer-windows.
...
llvm-svn: 318914
2017-11-23 13:23:21 +00:00
Ying Yi
989c9e75a6
[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.
Reviewers: Zachary Turner, Reid Kleckner
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D39567
llvm-svn: 318911
2017-11-23 12:48:41 +00:00
Reid Kleckner
67de34897c
[lit] Use a %{python} substitution to avoid relying on python being on PATH
...
llvm-svn: 309434
2017-07-28 21:13:47 +00:00
Brian Gesiak
d256538b3a
[lit] Fix order of checks in shtest-shell.py test
...
Summary:
An expectation in `utils/lit/tests/Inputs/shtest-shell/redirects.txt`
expects that first a string printed to stdout is seen, and then a
string printed to stderr. Add `flush()` calls to ensure that stdout is
printed before stderr, as expected.
Reviewers: rnk, mgorny, jroelofs
Reviewed By: rnk
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D35947
llvm-svn: 309292
2017-07-27 16:50:40 +00:00
Reid Kleckner
6dac9134f9
[lit] Fix shtest-shell and max-failures lit tests on Windows
...
Rewrite the write-to-stderr.sh and write-to-stdout-and-stderr.sh shell
scripts as python scripts and call python on them.
Fixes PR33940
llvm-svn: 309200
2017-07-26 22:21:25 +00:00
Daniel Dunbar
72868c74f3
[lit] Update lit's own tests to use lit_config and lit package, as appropriate.
...
llvm-svn: 188107
2013-08-09 21:39:17 +00:00
Daniel Dunbar
38d3798b94
[lit] Add a test for internal shell execution behaviors.
...
llvm-svn: 174102
2013-01-31 22:15:20 +00:00