From: Douglas Yung Date: Tue, 11 Sep 2018 06:48:45 +0000 (+0000) Subject: Make test more robust in case the expected output appears in clang version string. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=28ea6775c7d52721ba03b4ab0ce757e6a1110595;p=platform%2Fupstream%2Fllvm.git Make test more robust in case the expected output appears in clang version string. llvm-svn: 341907 --- diff --git a/clang/test/Driver/print-multi-directory.c b/clang/test/Driver/print-multi-directory.c index 31b167f..a161543 100644 --- a/clang/test/Driver/print-multi-directory.c +++ b/clang/test/Driver/print-multi-directory.c @@ -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 \