Skip to content

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

Merged
willend merged 1 commit into
mccode-dev:mainfrom
willend:2026-10-mcviewtest-walltime
Oct 31, 2026
Merged

willend merged 1 commit into
mccode-dev:mainfrom
willend:2026-10-mcviewtest-walltime

Conversation

@willend

@willend willend commented Oct 31, 2026

Copy link
Copy Markdown
Contributor

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 #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 merged commit 7c9cf5f into mccode-dev:main Oct 31, 2026
2 checks passed
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