<p></p>
<blockquote>
<p dir="auto">Oh, or do you mean how it works in universal-ctags?</p>
</blockquote>
<p dir="auto">Yes</p>
<blockquote>
<p dir="auto">There the unit tests work differently and preserve the name of the tested file so the output is always the same.</p>
</blockquote>
<p dir="auto">Ok, I thought there were other languages that required modules to be in files of the same name, but maybe ctags doesn't parse modules for those.</p>
<blockquote>
<p dir="auto">with our unit tests the source file name is a temporary name</p>
</blockquote>
<p dir="auto">Where does that happen?  AFAICT <code>runner.sh</code> doesn't copy the source file, it just puts the tagfile in a temporary directory?</p>
<p dir="auto">Or do you mean that by convention our test file names are chosen to reflect the test purpose (hence your choice of <code>simple.ml</code> for the first test file)?  If so thats just a convention, and if it clashes with the language requirements it can be changed and your test file called <code>modulefoo.ml</code>.</p>
<p dir="auto">Personally I would have disabled the tests not the parsing.</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-1099739446">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ7MPCE7VV2KAA54DEDVFCZTTANCNFSM5TLGGYWQ">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAIOWJ2B4R5EEGKWD5632YTVFCZTTA5CNFSM5TLGGYW2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOIGGLCNQ.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/c1099739446</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-1099739446",
"url": "https://github.com/geany/geany/pull/3163#issuecomment-1099739446",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>