<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/108621>108621</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[lldb] [lldb-dap] TestDap_runInTerminal is no longer ran when in release mode.
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
Da-Viper
</td>
</tr>
</table>
<pre>
There is currently a check to see if the release binary is larger than 1MiB, if this is the case then the test are run see
https://github.com/llvm/llvm-project/blob/d588e49a324b3d6039c19f3108d722a8b9fcd96e/lldb/test/API/tools/lldb-dap/runInTerminal/TestDAP_runInTerminal.py#L48-L51
I built from main and the current size if 1.2m which causes the test to no run silently and becomes dead code.
The check.
https://github.com/llvm/llvm-project/blob/d588e49a324b3d6039c19f3108d722a8b9fcd96e/lldb/test/API/tools/lldb-dap/runInTerminal/TestDAP_runInTerminal.py#L32-L44
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJzUk0FvnDAQhX-NuYwWwdiwcOCw6QopUirlsOq1MmZ2cWvslW0SbX99ZW_SNMceewHsYcZ-39OTIeiLJRpY88CaYyG3uDg_HOXum76SLyY334bTQp5AB1Cb92SjuYEEtZD6CdFBIAJ9hrgQeDIkA8GkrfS31GGkv5CHuEgL9Vf9wPDL_WcdUjk1qdQRF7J5FSlEkJ7AbzaPZtWRVYf7c4nxGhg_MBwZjhcdl20qlVsZjsa8vL92V-9-kIoMx8m4ieE4N11HopccxcTntuK9qvszr6tu3iPKburPau5bygPm1JGuwXA8PD-mhXMmvNV2s7wyHP1mH-2J_KqtNAzHE4V4PDx__7RfXm8M-ZPodk9N_beOR5g2bSKcvVthldqCtPMdxp0wBP0rU61LXOF10WoBJbdA4QNSdGDdHZM2d1fymImUWynATHIG5WYqPzE8pVOSd-_b_ydUjrsnIYp54HPPe1nQUO-xxaZuuSiWQVb7vj3TRNj3quGT6jvEVsyiIl6JXhZ6wApF1de87rDiouz2-70UnVSqbc5c1ExUtEptyqS-dP5S6BA2Guqqa7EujJzIhBwbREuvkKsMMaXIDxnZtF0CE5XRIYaPMVFHk_OWqTRHePvMEJojZNXy-ll1Cot1YJxNcfLSwmtKjLZ_Mrdmp4vNm-GfHc13T2a8iXsZ8HcAAAD__5s4UIA">