<p></p>
<blockquote>
<p>No, I don't. I just ran the checks now with this PR as I thought it might help.<br>
The tests fail in the same way for Geany master, so you are absolutely right: it's not new and not related to this PR.</p>
</blockquote>
<p>Ctags uses appveyor for CI on Windows so it might be worth considering to use it as well so we can run tests for Windows builds too.</p>
<blockquote>
<blockquote>
<ol>
<li>Would you try opening the file in binary mode and check what tests fail when you do?</li>
</ol>
</blockquote>
</blockquote>
<blockquote>
<p>No change.</p>
</blockquote>
<p>Weird, I don't get it then. This is the place where tags are written and newlines are written using <code>\n</code> - so it's a matter of figuring out why <code>\n</code> produces CRLF.</p>
<blockquote>
<blockquote>
<ol start="2">
<li>Would you try changing CRLF line ends in the SQL tests that fail to LF to see if this is the reason for the problem? I checked uctags implementation of file reading and CRLF should be handled there correctly so it could be something parser-specific.</li>
</ol>
</blockquote>
</blockquote>
<blockquote>
<p>This actually helps. I converted the test files of the six failures to LF and the tests passed fine.</p>
</blockquote>
<p>Good, at least we know it's the CRLFs. Now only to figure out why. I'm afraid I'm out of ideas so it's your turn with debugging :-(</p>
<blockquote>
<p>So I think we should address this separately, maybe after this PR got merged.</p>
</blockquote>
<p>Sounds good to me.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/pull/2666#issuecomment-735276366">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJZGTLPLAJTCXON5YSDSSFBRJANCNFSM4T2VTWXA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJZTC2QTM4WLDTRSGXTSSFBRJA5CNFSM4T2VTWXKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFPJW2TQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/pull/2666#issuecomment-735276366",
"url": "https://github.com/geany/geany/pull/2666#issuecomment-735276366",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>