[PATCH] D31498: Simplify test

Rafael Ávila de Espíndola via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 30 08:24:23 PDT 2017


rafael created this revision.
Herald added a subscriber: kubamracek.

We don't need && since that is how various run lines are combined.
The redirects were not being used.


https://reviews.llvm.org/D31498

Files:
  compiler-rt/test/asan/TestCases/Posix/closed-fds.cc


Index: compiler-rt/test/asan/TestCases/Posix/closed-fds.cc
===================================================================
--- compiler-rt/test/asan/TestCases/Posix/closed-fds.cc
+++ compiler-rt/test/asan/TestCases/Posix/closed-fds.cc
@@ -2,7 +2,8 @@
 // symbolizer still works.
 
 // RUN: rm -f %t.log.*
-// RUN: %clangxx_asan -O0 %s -o %t 2>&1 && %env_asan_opts=log_path='"%t.log"':verbosity=2 not %run %t 2>&1
+// RUN: %clangxx_asan -O0 %s -o %t
+// RUN: %env_asan_opts=log_path='"%t.log"':verbosity=2 not %run %t
 // RUN: FileCheck %s --check-prefix=CHECK-FILE < %t.log.*
 
 // FIXME: copy %t.log back from the device and re-enable on Android.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31498.93482.patch
Type: text/x-patch
Size: 652 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170330/28a5be48/attachment.bin>


More information about the llvm-commits mailing list