Skip to content

mcviewtest: show test runtime in the column headers - #5

Closed
willend wants to merge 1 commit into
mainfrom
2026-10-mcviewtest-walltime
Closed

willend wants to merge 1 commit into
mainfrom
2026-10-mcviewtest-walltime

Conversation

@willend

@willend willend commented Oct 31, 2026 •

Copy link
Copy Markdown
Owner

What

mcviewtest column headers now get one more line, Runtime: h:mm:ss, taken from _meta.walltime in each testresults_<label>.json.

Why

mctest already stores the time each label's test run took in _meta.walltime (ea156ff, from mccode-dev#2950, now on main), but mcviewtest never displayed it.

Notes for review

  • Reports from before ea156ff have no walltime and show Runtime: n/a, so they still load.
  • walltime is the time for that one label's run, not the time since the tool started (the Total runtime: line mctest prints). In --config mode each column shows its own label's time.
  • Tested only get_col_header() on sample metas, with and without walltime. Not run on a real test directory.

🤖 Generated with Claude Code

Reports without walltime show 'Runtime: n/a'.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@willend

willend commented Oct 31, 2026

Copy link
Copy Markdown
Owner Author

Superseded by mccode-dev#2957

@willend willend closed this Oct 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant