Skip to content

Commit c26ec7e

Browse files
authored
[llvm][lit] fix writing results to --time-trace-output file (#130845)
This patch fixes an issue introduced with commit: 8507dba
1 parent b990c81 commit c26ec7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/utils/lit/lit/reports.py

+1-1
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)