amaiorano created this revision. amaiorano added reviewers: malcolm.parsons, ioeric. amaiorano added a subscriber: cfe-commits.
Certain tests expect their input files to have LF line endings, while others expect CRLF. On Windows, when using Git with core.autocrlf=true, these tests fail because all source files are checked out with CRLF line endings. This change makes sure that these files are not converted at all on checkout. https://reviews.llvm.org/D28419 Files: .gitattributes Index: .gitattributes =================================================================== --- /dev/null +++ .gitattributes @@ -0,0 +1,5 @@ +text=auto + +# Disable eol conversions as certain tests rely on specific line endings +test/**/*.h -text +test/**/*.cpp -text
Index: .gitattributes =================================================================== --- /dev/null +++ .gitattributes @@ -0,0 +1,5 @@ +text=auto + +# Disable eol conversions as certain tests rely on specific line endings +test/**/*.h -text +test/**/*.cpp -text
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits