[PATCH] D43501: [lit] Implement non-pipelined 'cat' command for internal shell

Chamal De Silva via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 20 23:20:43 PST 2018


chamalsl updated this revision to Diff 135200.
chamalsl marked an inline comment as done.
chamalsl set the repository for this revision to rL LLVM.
chamalsl added a comment.

Fixed 2 more issues.

1. Print output of 'cat' command to command output when output is not redirected.
2. TestRunner.py crashed when a non existent file is passed to 'cat' command. Fixed this bug and added a test case.


Repository:
  rL LLVM

https://reviews.llvm.org/D43501

Files:
  utils/lit/lit/TestRunner.py
  utils/lit/tests/Inputs/shtest-shell/cat-error-0.txt
  utils/lit/tests/Inputs/shtest-shell/cat-error-1.txt
  utils/lit/tests/Inputs/shtest-shell/valid-shell.txt
  utils/lit/tests/max-failures.py
  utils/lit/tests/shtest-shell.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43501.135200.patch
Type: text/x-patch
Size: 6053 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180221/4e7fdce0/attachment.bin>


More information about the llvm-commits mailing list