| ... | @@ -1587,11 +1587,15 @@ fn spawnChildAndCollect( | ... | @@ -1587,11 +1587,15 @@ fn spawnChildAndCollect( |
| 1587 | run.step.test_results = res.test_results; | 1587 | run.step.test_results = res.test_results; |
| 1588 | if (res.test_metadata) |tm| { | 1588 | if (res.test_metadata) |tm| { |
| 1589 | run.cached_test_metadata = tm.toCachedTestMetadata(); | 1589 | run.cached_test_metadata = tm.toCachedTestMetadata(); |
| 1590 | if (options.web_server) |ws| ws.updateTimeReportRunTest( | 1590 | if (options.web_server) |ws| { |
| 1591 | run, | 1591 | if (b.graph.time_report) { |
| 1592 | &run.cached_test_metadata.?, | 1592 | ws.updateTimeReportRunTest( |
| 1593 | tm.ns_per_test, | 1593 | run, |
| 1594 | ); | 1594 | &run.cached_test_metadata.?, |
| | 1595 | tm.ns_per_test, |
| | 1596 | ); |
| | 1597 | } |
| | 1598 | } |
| 1595 | } | 1599 | } |
| 1596 | return null; | 1600 | return null; |
| 1597 | } else { | 1601 | } else { |