]> granicus.if.org Git - clang/commit
test/Index/preamble_macro_template.cpp: Tweak for win32.
authorNAKAMURA Takumi <geek4civic@gmail.com>
Mon, 24 Dec 2012 01:23:48 +0000 (01:23 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Mon, 24 Dec 2012 01:23:48 +0000 (01:23 +0000)
commitfa6efa8a43ca74a40086c094cf3e68031d1f7c5a
treead355923d9796768a6d96853ed0ccf2c0d6cefb5
parente2c7acf58856fec94ed2b8089116e1ad80e3c30f
test/Index/preamble_macro_template.cpp: Tweak for win32.

Using the file immediately after "> file 2>&1" causes weird behavior on win32.
For example, "foo > %t 2>&1; FileCheck --input-file=%t"

Use "foo 2>&1 | tee %t" instead.

Note, mixing stdout and stderr to the same handle might cause unexpected behavior, due to buffering.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@171009 91177308-0d34-0410-b5e6-96231b3b80d8
test/Index/preamble_macro_template.cpp