<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/102399>102399</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[llvm-lit] Attribute Error in lit internal shell
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
Harini0924
</td>
</tr>
</table>
<pre>
The `executeScriptInternal` function in the lit’s `TestRunner.py` needs modification to address an `AttributeError` occurring in multiple test cases, particularly those related to BOLT and libFuzzer. The error indicates that the result.command object, a `Seq` object, is being accessed incorrectly as if it had an args attribute.
Error displayed:
```
line 1096, in executeScriptInternal
result.command.args[0] == "@echo"
^^^^^^^^^^^^^^^^^^^
AttributeError: 'Seq' object has no attribute 'args'
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJycU91q4zoQfhr5ZqhR5L_4whfpScI5cODAaV9AliaxFkXKasbdTZ9-kZptofRqQWBb1qfvZ2Y0kTsHxEl0j6LbV3rlJabpb51ccHJUbTVHe5ueFwTRS_yJZmV8Msld-Z_AmIL2opdwWoNhFwO4ALwgeMfioMRWinGkjHxG4v_XEDDV11tGBERLcInWnZzRBcsRtLUJiUCHDNoxJzevjIeUYsqoaMyakgvnTHRZPburR2AkBqMJSai_4KoTO7N6nfwNeImEkNBrRpsZHv_79xl0sODdfFxfXzHVkN1hpgAXbFaDBLxoLlYS0uq5NvFyybA4f0PDmUdniU_4veh633UEM2aB2hgkQgsumJgSGvY30ATuBI5h0Tab1OlMoH_brIXcC7krbsE6unp9Qyua3du-6OV9lU_vAsJGjn2hDfB1ccpRAPjko87MonuUotuDaPai2YNQSrQSzRLz2ztQdIc_XOWKT0VsdiDUkGNTwz02WDRBiB855BNFnxq-dF7ZqbFjM-oKp82gGjnIXrXVMqlBbc2p3bZamn4ru77RfaP6brNtB7ttTOUmJVUrt3JQqm3ath6NbLUZ5k3TahxOmAO4aOdr718udUznyhGtOG2kasax8npGT2VYlAr4A8rfHFe3r9KUQQ_zeibRSu-I6eMaduzLlJUzeT66PbxnA4d7--XJAXcvHtCC3ldr8tPCfKXcCeoo1PHseFnnXEuhjvnC--PhmuJbIx6LMBLqeFf-MqlfAQAA__9p8zxp">