Skip to content
Snippets Groups Projects

tests: Print the failing line numbers when a test fails.

1 unresolved thread

Currently, if a probe fails, it will print the line number of the [test] block the probe is in, not the line number of the probe itself. This makes it somewhat difficult to debug.

This commit makes it print the line number that a test fails at.

This code was actually written by @hverbeet for my first attempt at fixing this, !499 (closed).

CC @zfigura

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading