<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/55176>55176</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[lit] Interrupting the test suite results in a TypeError
</td>
</tr>
<tr>
<th>Labels</th>
<td>
tools:llvm-lit
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
yuanfang-chen
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
JDevlieghere
</td>
</tr>
</table>
<pre>
```
^C interrupted by user, skipping remaining tests
Traceback (most recent call last):
File "/Users/jonas/llvm/build-ra/./bin/llvm-lit", line 46, in <module>
main(builtin_parameters)
File "/Users/jonas/llvm/llvm-project/llvm/utils/lit/lit/main.py", line 111, in main
selected_tests, discovered_tests = GoogleTest.post_process_shard_results(
File "/Users/jonas/llvm/llvm-project/llvm/utils/lit/lit/formats/googletest.py", line 265, in post_process_shard_results
start_time = start_time + elapsed_time
TypeError: unsupported operand type(s) for +: 'NoneType' and 'float'
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJy1U8tu3CAU_Rp7g2J58CteeJHMZKp20VW6Hl2ba5sUA-IRaf6-QDxJumjVTSXLF7ivcy6HUbHrkLXl_pWnrHzImqcjIVw6NMZrh4yMV-Itmoweif3JteZyIQY34DKuHFpn31KfDUw4wvSTZPR-U9aFsAmlIxMIQQRYl9E-qx7eogk5c4EhlGb0_CM0sMG-KAnRCvG6BTN6LtidgbAs4pbL3XcnuEuZRyK4RFK3ccklyarjppgXmFVPtz6ERLABUyznuLxoMLChSy37f0eTGmujXnByH6fecZGCuHv_x36Fvn5GeDgcdogJzDs0iyKUQ3Z5G2QIYdxO6hXN7SxwOpEvSi0Cn8O-0GGylwBjQmsvdgXDLgatFzH7_n-wmZXZIFY_LwmFSyh-Y0fbZmf3F3QfnB0Yd3F8w8Tt85Y-EhSgbSQfDnZhXTU-GaNMEA_x0nqtlYnSVBoNSEZcCAjk43WSgDaWiaEZ7b4ric_J25EYGewsFARa3a73m_xzNlSsr3rIHXcCh6x5jPSbE_l6ewxJ7ysmzRPruUOyc4vMgbzjzL0Rw-qctlHu9BxHx93qx2JS2x-vgFvrMY65aQ5dm69Dz6CZYWTlzBpWl7QDYH071R1UY93PTS5gRGEj1HAZTikR-31-H80p5wMtKS1ren_om462BbC5rcuu7aqyweYwZ3UZX7MoYmKhzJKbIdUY_WKDU_Agwg8nWMsXibh3vXqQM8jlblpR7i3Bu1WZ4dsJXwXHZQ1azhO5ITH7BWDscD0">