[PATCH] [test-suite] Fix failure to capture stderr in *.out-simple's

Daniel Sanders Daniel.Sanders at imgtec.com
Fri Dec 12 14:39:48 PST 2014


A very late ping. I'd completely forgotten about this patch but I just ran into the problem again while testing LLVM 3.5.1 (cross-compilation from x86_64 to mips) with clean test-suite sources.
________________________________
From: Daniel Sanders
Sent: 15 August 2014 15:24
To: llvm-commits at cs.uiuc.edu
Subject: [PATCH] [test-suite] Fix failure to capture stderr in *.out-simple's

Hi,

I've just dist-upgraded one of my Debian machines and I'm now finding that a large number of tests are failing the reference check on that machine. All the missing lines appear in test.log so it seems that stderr is no longer redirected to the *.out-simple along with stdout. This patch fixes this by redirecting stderr to stdout on the perf command.

Daniel Sanders
Leading Software Design Engineer, MIPS Processor IP
Imagination Technologies Limited
www.imgtec.com<http://www.imgtec.com/>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141212/5c610450/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: redirect-stderr.patch
Type: text/x-patch
Size: 306 bytes
Desc: redirect-stderr.patch
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141212/5c610450/attachment.bin>


More information about the llvm-commits mailing list