<p>Question, with <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="415817391" data-permission-text="Issue title is private" data-url="https://github.com/RIOT-OS/RIOT/issues/11085" data-hovercard-type="pull_request" data-hovercard-url="/RIOT-OS/RIOT/pull/11085/hovercard" href="https://github.com/RIOT-OS/RIOT/pull/11085">#11085</a>, does not the terminal disappear after the <code>make reset</code> ? Because that would cause many issues with the current state.<br>
I want to get rid of <code>make reset</code> while <code>make term</code> is running as it is not always available and breaks on some boards. <a href="https://git.imp.fu-berlin.de/riot-appstore/riot-buildsystem-ci-server/blob/46ecfdb7e44b0e54832e0135bac46fe8638b6cf8/tools/makefiles.pre#L79-82" rel="nofollow">https://git.imp.fu-berlin.de/riot-appstore/riot-buildsystem-ci-server/blob/46ecfdb7e44b0e54832e0135bac46fe8638b6cf8/tools/makefiles.pre#L79-82</a></p>
<p>But it will need some migration to do an interactive synchronization (or any synchronization) with the test before dumping the output as for example: <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/RIOT-OS/RIOT/commit/f193ffd604d8e1e1aa2b253c0036eea7e023d343/hovercard" href="https://github.com/RIOT-OS/RIOT/commit/f193ffd604d8e1e1aa2b253c0036eea7e023d343"><tt>f193ffd</tt></a></p>
<h3>Handling of the term not being ready</h3>
<p>I would be somehow more for a <code>term-ready</code>, <code>term-available</code> target, to handle these issues of not being able to talk to the board before.<br>
By default, it would do nothing, but on board that needs this 'tty' being not busy, would wait for it.<br>
If the tty is ready, it would need to return "immediately" though, not sleep 5 seconds just in case.</p>
<p>Which would make that when you do <code>make term</code>, it waits until the device is there.</p>
<p>And in test, it could call <code>term-ready</code> before, wait until it returns, then start the test procedure with its <code>MAKE_TERM_STARTED_DELAY</code> thing.</p>
<p>This way, no issue with breaking the test due to the reconnect time not taken into account or giving a wrong failure reason:</p>
<p><a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="384885493" data-permission-text="Issue title is private" data-url="https://github.com/RIOT-OS/RIOT/issues/10482" data-hovercard-type="pull_request" data-hovercard-url="/RIOT-OS/RIOT/pull/10482/hovercard?comment_id=447866610&comment_type=issue_comment" href="https://github.com/RIOT-OS/RIOT/pull/10482#issuecomment-447866610">#10482 (comment)</a></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/RIOT-OS/RIOT/pull/12270?email_source=notifications&email_token=ABE7WYGYUZOPXL7HE4HUQH3QKH4CNA5CNFSM4IX3VNRKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD67RBUI#issuecomment-532615377">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABE7WYBNH2L44Y4UAFX6L7LQKH4CNANCNFSM4IX3VNRA">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABE7WYEGGSLUTKCBXGABK33QKH4CNA5CNFSM4IX3VNRKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD67RBUI.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/12270?email_source=notifications\u0026email_token=ABE7WYGYUZOPXL7HE4HUQH3QKH4CNA5CNFSM4IX3VNRKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD67RBUI#issuecomment-532615377",
"url": "https://github.com/RIOT-OS/RIOT/pull/12270?email_source=notifications\u0026email_token=ABE7WYGYUZOPXL7HE4HUQH3QKH4CNA5CNFSM4IX3VNRKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD67RBUI#issuecomment-532615377",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>