r341907 - Make test more robust in case the expected output appears in clang version string.
Douglas Yung via cfe-commits
cfe-commits at lists.llvm.org
Mon Sep 10 23:48:45 PDT 2018
Author: dyung
Date: Mon Sep 10 23:48:45 2018
New Revision: 341907
URL: http://llvm.org/viewvc/llvm-project?rev=341907&view=rev
Log:
Make test more robust in case the expected output appears in clang version string.
Modified:
cfe/trunk/test/Driver/print-multi-directory.c
Modified: cfe/trunk/test/Driver/print-multi-directory.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/print-multi-directory.c?rev=341907&r1=341906&r2=341907&view=diff
==============================================================================
--- cfe/trunk/test/Driver/print-multi-directory.c (original)
+++ cfe/trunk/test/Driver/print-multi-directory.c Mon Sep 10 23:48:45 2018
@@ -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 \
More information about the cfe-commits
mailing list