<h3>Contribution description</h3>

<p>Previously, tests in CI on RasPis are run using "make flash-only term".<br>
If "make term" requires work (e.g., compiling ethos), this makes "make term" startup long enough to possibly lose input, because "make reset" is called by "make test" with a fixed delay.</p>
<p>This PR introduces the termdeps target and makes use of it within the murdock scripts.<br>
Test runs are now two-stage:</p>
<ol>
<li>make flash-only termdeps -j2</li>
<li>make test</li>
</ol>
<p>This a) lowers total test time if "make term" has work to do, by building the deps in parallel to flashing, and b) ensures that "make term" dependencies are already built when "make test" calls "make term".</p>
<h3>Testing procedure</h3>
<p>AFAIK currently no test is using ethos, thus ideally, nothing will change for now.</p>

<h3>Issues/PRs references</h3>


<hr>

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

<h4>Commit Summary</h4>
<ul>
  <li>make: introduce "termdeps" target</li>
  <li>murdock: run_test: build termdeps while flashing</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/11762/files#diff-0">.murdock</a>
    (7)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/11762/files#diff-1">Makefile.include</a>
    (7)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/RIOT-OS/RIOT/pull/11762.patch'>https://github.com/RIOT-OS/RIOT/pull/11762.patch</a></li>
  <li><a href='https://github.com/RIOT-OS/RIOT/pull/11762.diff'>https://github.com/RIOT-OS/RIOT/pull/11762.diff</a></li>
</ul>

<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/RIOT-OS/RIOT/pull/11762?email_source=notifications&email_token=ABE7WYCQ4K476TCVZ7HN423P4YW4TA5CNFSM4H4GQHOKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G4LBP4Q">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABE7WYGSMF4MP44G34M7OHLP4YW4TANCNFSM4H4GQHOA">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABE7WYFLEMIHW3DJEFHO3J3P4YW4TA5CNFSM4H4GQHOKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G4LBP4Q.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/RIOT-OS/RIOT/pull/11762?email_source=notifications\u0026email_token=ABE7WYCQ4K476TCVZ7HN423P4YW4TA5CNFSM4H4GQHOKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G4LBP4Q",
"url": "https://github.com/RIOT-OS/RIOT/pull/11762?email_source=notifications\u0026email_token=ABE7WYCQ4K476TCVZ7HN423P4YW4TA5CNFSM4H4GQHOKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G4LBP4Q",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>