[PATCH] D71402: [sanitizers] Redirect stdout and stderr to TASK_LOG

Eric Christopher via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 12 15:56:12 PST 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rG3ecfe64fe339: [sanitizers] Redirect stdout and stderr to TASK_LOG (authored by echristo).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D71402/new/

https://reviews.llvm.org/D71402

Files:
  compiler-rt/lib/sanitizer_common/scripts/check_lint.sh


Index: compiler-rt/lib/sanitizer_common/scripts/check_lint.sh
===================================================================
--- compiler-rt/lib/sanitizer_common/scripts/check_lint.sh
+++ compiler-rt/lib/sanitizer_common/scripts/check_lint.sh
@@ -55,7 +55,7 @@
   FILTER=$1
   shift
   TASK_LOG=$(${MKTEMP})
-  ${CPPLINT} --filter=${FILTER} "$@" 2>$TASK_LOG
+  ${CPPLINT} --filter=${FILTER} "$@" > $TASK_LOG 2>&1
   if [ "$?" != "0" ]; then
     cat $TASK_LOG | grep -v "Done processing" | grep -v "Total errors found" \
       | grep -v "Skipping input" >> $ERROR_LOG


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71402.233695.patch
Type: text/x-patch
Size: 574 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191212/71500a1b/attachment.bin>


More information about the llvm-commits mailing list