[Test] Set gitattributes for line endings in tapi inputs
authorJustin Bogner <mail@justinbogner.com>
Tue, 21 Feb 2023 22:37:18 +0000 (14:37 -0800)
committerJustin Bogner <mail@justinbogner.com>
Wed, 22 Feb 2023 00:07:08 +0000 (16:07 -0800)
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.

Differential Revision: https://reviews.llvm.org/D144527

llvm/.gitattributes

index b07b652..fe68b09 100644 (file)
@@ -22,7 +22,9 @@ test/MC/AsmParser/preserve-comments-crlf.s text eol=crlf
 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