[PATCH] D144527: [Test] Set gitattributes for line endings in tapi inputs
Justin Bogner via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 21 15:45:48 PST 2023
bogner created this revision.
bogner added reviewers: ributzka, cishida.
Herald added subscribers: jdoerfert, mcrosier.
Herald added a project: All.
bogner requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
LLVM's parsing of .tbd files errors out with "unsupported file type"
if the tbd files have CRLF line endings. Add gitattributes for the
inputs to avoid test failures on windows.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D144527
Files:
llvm/.gitattributes
Index: llvm/.gitattributes
===================================================================
--- llvm/.gitattributes
+++ llvm/.gitattributes
@@ -22,7 +22,9 @@
test/tools/llvm-mca/X86/directives-handle-crlf.s text eol=crlf
# These files must have LF line endings because the test requires exact matching
+test/Object/Inputs/*.tbd eol=lf
test/tools/llvm-strings/radix.test text eol=lf
+test/tools/llvm-tapi-diff/Inputs/*.tbd text eol=lf
test/tools/split-file/basic.test text eol=lf
test/tools/split-file/Inputs/basic-*.txt eol=lf
test/tools/split-file/basic.crlf.test text eol=crlf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D144527.499317.patch
Type: text/x-patch
Size: 590 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230221/5ddd5715/attachment.bin>
More information about the llvm-commits
mailing list