<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/77869>77869</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            LIT should print which RUN command failed
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          cjdb
      </td>
    </tr>
</table>

<pre>
    LIT currently prints all the commands, but doesn't identify which line failed. This can be problematic when there are several similar lines.

Two alternatives come to mind:

1. LIT prints all the commands that were run instead of all of them (thus the last line will be the failed command).
2. LIT singles out the failed command in addition to printing out all the commands (preferably just before the output).
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx0ksuOnDwQhZ_GbEqDjOkbCxbz_6OWIkVZRJMHMLhoamTslqs8qN8-MkwuUpINSHB86jvlY5npFhB7dfxPHV8qm2WOqR_f3FAN0T36z59eYcwpYRD_gHuiIAzWe5AZYYzLYoNjZf6HIQu4iByUOQuQwyA0PWCdaZzBU0CYLHl0NbzOxDDaAAPCPcXB42KFRlhnDMU2IdiEwPiOyXpgWsjbtHlwrfSL0s_783WNYL1gClboHbnwIEiEhYJT7fPv2qaGEuUfAUBmK7CW0SkHoMCC1kGcNmWcingBZS4yZ95Oesuyx1rJ-xKlfN0j_rBVpvvgNft0pnDzyBCz_EUOFMA6R0IxlBQbK4XbJv-DWJnLPeGEyQ7-AW-ZBQacYtpBYpZ7lgJQub51XdvZCvvmrI-61a3pqrl3jW3GsWn18YSH5nDsztPRtud2OnTOnYamot5oc9BNY3TbGt3Vo-6m06CdbSZzcbZRB42LJV97_77UMd0qYs7Yn8-XU1d5O6DnrVjGBFxh-6mMKT1LfTnzNOQbq4P2xMK_XITE49Y8nmP2bt_ER5W-fvvyc2H7_qqcfD-L3Lncubkqc72RzHmox7gocy2-H6-ne4pvOIoy142GlblutN8DAAD__y6IBFA">