<p></p>
<blockquote>
<p dir="auto">Where does that happen? AFAICT runner.sh doesn't copy the source file, it just puts the tagfile in a temporary directory?</p>
</blockquote>
<p dir="auto">Just had a look and it's actually Geany itself:</p>
<p dir="auto"><a href="https://github.com/geany/geany/blob/df27d1b226bd7261be5482b06d3a69123ff0c514/src/tagmanager/tm_workspace.c#L576">https://github.com/geany/geany/blob/df27d1b226bd7261be5482b06d3a69123ff0c514/src/tagmanager/tm_workspace.c#L576</a></p>
<p dir="auto">Note that the code is very c/c++ specific and the <code>includes</code> parameter of the function is actually source files passed on the Geany command-line. When these are really include files, it creates a new file containing <code>#include "file"</code> for all the includes which it then pre-processes with gcc.</p>
<p dir="auto">When these aren't include files, it combines all source files into a single temporary file which it then parses. This appears to be really stupid because, first, creation of the temporary file is unnecessary, but second, worse, the concatenated file may not be syntactically valid for the given language. I'll look into this and try to fix it by parsing the files one by one and combining the tags.</p>
<blockquote>
<p dir="auto">Personally I would have disabled the tests not the parsing.</p>
</blockquote>
<p dir="auto">Then there couldn't be any tests for ocaml because the module tag is generated for every file which isn't ideal either. But as I said above, this should be fixable.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/geany/geany/pull/3163#issuecomment-1100068776">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ6TLIQVESBT3ORZ3JLVFFMHXANCNFSM5TLGGYWQ">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAIOWJZ2NTTIRCKTWGP57DDVFFMHXA5CNFSM5TLGGYW2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOIGI3PKA.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><geany/geany/pull/3163/c1100068776</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/pull/3163#issuecomment-1100068776",
"url": "https://github.com/geany/geany/pull/3163#issuecomment-1100068776",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>