<p dir="auto">For each of the filetypes, the script uses universal-ctags binary to<br>
generate a tags file for all the unit tests for the given filetype,<br>
collects the kinds contained in the tags file and compares them to those<br>
mapped inside <code>tm_parser.c</code> (except the ignored ones mapped to<br>
<code>tm_tag_undef_t</code>). It then prints those kinds that are mapped in<br>
tm_parser.c but not present in the ctags output.</p>
<p dir="auto">The script runs a universal-ctags binary that must be present in<br>
PATH and the script assumes it's executed from the root directory<br>
containing Geany sources (by <code>./scripts/test-units.py</code>). Since Geany<br>
now uses most of the upstream parser, the output of universal-ctags should<br>
correspond to the output of Geany. Note that we cannot use our own<br>
tags file for this test as they don't contain the original kind but rather<br>
the kind mapped to Geany's internal representation (<code>tm_tag_..._t</code>).</p>
<p dir="auto">I'll update this PR once all the parsers are merged.</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/geany/geany/pull/3182'>https://github.com/geany/geany/pull/3182</a></p>

<h4>Commit Summary</h4>
<ul>
  <li><a href="https://github.com/geany/geany/pull/3182/commits/be44028bc158c96ff9974ecb1a10b2de982d22fe" class="commit-link">be44028</a>  Add script checking our unit test coverage of the mapped kinds</li>
</ul>

<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/geany/geany/pull/3182/files">1 file</a>)</p>
<ul>
  <li>
    <strong>A</strong>
    <a href="https://github.com/geany/geany/pull/3182/files#diff-331fdba0f7c003293cae90664eca0d6fb9bd7b851f2326062c90e928d78df1c8">scripts/test-units.py</a>
    (121)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/geany/geany/pull/3182.patch'>https://github.com/geany/geany/pull/3182.patch</a></li>
  <li><a href='https://github.com/geany/geany/pull/3182.diff'>https://github.com/geany/geany/pull/3182.diff</a></li>
</ul>

<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/3182">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ2QAUJIENTGHY7HCELVG7POPANCNFSM5ULWVP7Q">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAIOWJ7S7J24P5A5EAMRDWLVG7POPA5CNFSM5ULWVP72YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4SDZCQLA.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/3182</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/3182",
"url": "https://github.com/geany/geany/pull/3182",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>