[llvm] r200370 - We do use pipefail these days. Update the test.
Rafael Espindola
rafael.espindola at gmail.com
Tue Jan 28 20:08:05 PST 2014
Author: rafael
Date: Tue Jan 28 22:08:05 2014
New Revision: 200370
URL: http://llvm.org/viewvc/llvm-project?rev=200370&view=rev
Log:
We do use pipefail these days. Update the test.
Modified:
llvm/trunk/test/Object/nm-error.test
Modified: llvm/trunk/test/Object/nm-error.test
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Object/nm-error.test?rev=200370&r1=200369&r2=200370&view=diff
==============================================================================
--- llvm/trunk/test/Object/nm-error.test (original)
+++ llvm/trunk/test/Object/nm-error.test Tue Jan 28 22:08:05 2014
@@ -1,12 +1,10 @@
Test that llvm-nm returns an error because of the unknown file type, but
keeps processing subsequent files.
-Note: We use a temporary file since the tests don't run with pipefail.
-
RUN: touch %t
RUN: not llvm-nm %p/Inputs/trivial-object-test.elf-i386 %t \
-RUN: %p/Inputs/trivial-object-test.elf-i386 > %t.log
-RUN: FileCheck %s < %t.log
+RUN: %p/Inputs/trivial-object-test.elf-i386 | \
+RUN: FileCheck %s
CHECK: U SomeOtherFunction
CHECK: 00000000 T main
More information about the llvm-commits
mailing list