summaryrefslogtreecommitdiffstats
path: root/llvm/utils/lit/tests/Inputs/shtest-output-printing/basic.txt
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2016-06-07 16:13:40 +0000
committerDaniel Dunbar <daniel@zuster.org>2016-06-07 16:13:40 +0000
commit1934108270bff50517b6b9c0978c7e52c449850f (patch)
tree04afb84653ac23224f93b352758eab7410e2100d /llvm/utils/lit/tests/Inputs/shtest-output-printing/basic.txt
parent422ea24d45c3c2903d82fd65c33a2b53efda36a6 (diff)
downloadbcm5719-llvm-1934108270bff50517b6b9c0978c7e52c449850f.tar.gz
bcm5719-llvm-1934108270bff50517b6b9c0978c7e52c449850f.zip
[lit] Improve logging with file redirection.
- This will cause lit to automatically include the first 1K of data in redirected output files when a command fails (previously if the command failed, but the main point of the test was, say, a `FileCheck` later on, then the log wasn't helpful in showing why the command failed). llvm-svn: 272021
Diffstat (limited to 'llvm/utils/lit/tests/Inputs/shtest-output-printing/basic.txt')
-rw-r--r--llvm/utils/lit/tests/Inputs/shtest-output-printing/basic.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/lit/tests/Inputs/shtest-output-printing/basic.txt b/llvm/utils/lit/tests/Inputs/shtest-output-printing/basic.txt
index 1720c6097bd..4899c7e63db 100644
--- a/llvm/utils/lit/tests/Inputs/shtest-output-printing/basic.txt
+++ b/llvm/utils/lit/tests/Inputs/shtest-output-printing/basic.txt
@@ -1,3 +1,3 @@
# RUN: true
# RUN: echo hi
-# RUN: false
+# RUN: wc missing-file &> %t.out
OpenPOWER on IntegriCloud