[llvm] r343896 - [llvm-nm] Update all tests to redirect stderr to stdout
Petr Hosek via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 5 15:16:37 PDT 2018
Author: phosek
Date: Fri Oct 5 15:16:37 2018
New Revision: 343896
URL: http://llvm.org/viewvc/llvm-project?rev=343896&view=rev
Log:
[llvm-nm] Update all tests to redirect stderr to stdout
This addresses the breakage introduced in r343887.
Modified:
llvm/trunk/test/tools/gold/X86/bcsection.ll
llvm/trunk/test/tools/gold/X86/thinlto.ll
Modified: llvm/trunk/test/tools/gold/X86/bcsection.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/X86/bcsection.ll?rev=343896&r1=343895&r2=343896&view=diff
==============================================================================
--- llvm/trunk/test/tools/gold/X86/bcsection.ll (original)
+++ llvm/trunk/test/tools/gold/X86/bcsection.ll Fri Oct 5 15:16:37 2018
@@ -2,7 +2,7 @@
; RUN: llvm-as -o %t/bcsection.bc %s
; RUN: llvm-mc -I=%t -filetype=obj -triple=x86_64-unknown-unknown -o %t/bcsection.bco %p/Inputs/bcsection.s
-; RUN: llvm-nm -no-llvm-bc %t/bcsection.bco | FileCheck %s -check-prefix=NO-SYMBOLS
+; RUN: llvm-nm -no-llvm-bc %t/bcsection.bco 2>&1 | FileCheck %s -check-prefix=NO-SYMBOLS
; NO-SYMBOLS: no symbols
; RUN: %gold -r -o %t/bcsection.o -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext %t/bcsection.bco
Modified: llvm/trunk/test/tools/gold/X86/thinlto.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/X86/thinlto.ll?rev=343896&r1=343895&r2=343896&view=diff
==============================================================================
--- llvm/trunk/test/tools/gold/X86/thinlto.ll (original)
+++ llvm/trunk/test/tools/gold/X86/thinlto.ll Fri Oct 5 15:16:37 2018
@@ -83,7 +83,7 @@
; RUN: --plugin-opt=obj-path=%t5.o \
; RUN: -shared %t.o %t2.o -o %t4
; RUN: llvm-readobj -h %t5.o | FileCheck %s --check-prefix=FORMAT
-; RUN: llvm-nm %t5.o | FileCheck %s -check-prefix=NO-SYMBOLS
+; RUN: llvm-nm %t5.o 2>&1 | FileCheck %s -check-prefix=NO-SYMBOLS
; NO-SYMBOLS: no symbols
; NM: T f
More information about the llvm-commits
mailing list