[PATCH] D13852: clang-format: Use pipes instead of temporary files for most lit tests.
Nico Weber via cfe-commits
cfe-commits at lists.llvm.org
Sun Oct 18 17:58:47 PDT 2015
thakis created this revision.
thakis added a reviewer: djasper.
thakis added a subscriber: cfe-commits.
Herald added a subscriber: klimek.
This makes the format tests look more like most other FileCheck tests in clang.
The multiple-inputs tests still use temp files, to make sure that the file input code in clang-format stays tested.
Stop stripping out the comment lines in style-on-command-line.cpp as they don't get in the way and it makes the test simpler. Also remove 2>&1s on the tests in that file that don't need it.
http://reviews.llvm.org/D13852
Files:
test/Format/basic.cpp
test/Format/cursor.cpp
test/Format/disable-format.cpp
test/Format/incomplete.cpp
test/Format/language-detection.cpp
test/Format/line-ranges.cpp
test/Format/ranges.cpp
test/Format/style-on-command-line.cpp
test/Format/xmloutput.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13852.37713.patch
Type: text/x-patch
Size: 7277 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20151019/519d1b78/attachment-0001.bin>
More information about the cfe-commits
mailing list