Skip to content

Commit e37db4a

Browse files
authored
[llvm][lit] fix writing results to --time-trace-output file (#130845)
This patch fixes an issue introduced with commit: llvm/llvm-project@63f0091
1 parent 0aa0c71 commit e37db4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lit/reports.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ def _write_results_to_file(self, tests, elapsed, file):
286286

287287
json_data = {"traceEvents": events}
288288

289-
json.dump(json_data, time_trace_file, indent=2, sort_keys=True)
289+
json.dump(json_data, file, indent=2, sort_keys=True)
290290

291291
def _get_test_event(self, test, first_start_time):
292292
test_name = test.getFullName()

0 commit comments

Comments
 (0)