]> granicus.if.org Git - clang/commitdiff
Make test more robust in case the expected output appears in clang version string.
authorDouglas Yung <douglas.yung@sony.com>
Tue, 11 Sep 2018 06:48:45 +0000 (06:48 +0000)
committerDouglas Yung <douglas.yung@sony.com>
Tue, 11 Sep 2018 06:48:45 +0000 (06:48 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@341907 91177308-0d34-0410-b5e6-96231b3b80d8

test/Driver/print-multi-directory.c

index 31b167fbab23f43642e27d19f7e4c6229308ef8e..a161543ce782d12126ff2ccc380fa25ea11b2d14 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
+// RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>/dev/null \
 // RUN:     -target i386-none-linux \
 // RUN:     -B%S/Inputs/multilib_64bit_linux_tree/usr \
 // RUN:     -print-multi-directory \
@@ -8,7 +8,7 @@
 // CHECK-X86-MULTILIBS-NOT:  x32
 // CHECK-X86-MULTILIBS-NOT:  .
 
-// RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
+// RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>/dev/null \
 // RUN:     -target i386-none-linux -m64 \
 // RUN:     -B%S/Inputs/multilib_64bit_linux_tree/usr \
 // RUN:     -print-multi-directory \
@@ -18,7 +18,7 @@
 // CHECK-X86_64-MULTILIBS-NOT:  x32
 // CHECK-X86_64-MULTILIBS-NOT:  32
 
-// RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
+// RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>/dev/null \
 // RUN:     -target arm-linux-androideabi21 \
 // RUN:     -mthumb \
 // RUN:     -B%S/Inputs/basic_android_ndk_tree \