Commit 62bd186
committed
Include relative path to test in output log, use textwrap for args
With the new free-form 'name:' it can be difficult for a test developer
reading the log output to immediately make out which test (file) they
are looking at. This commit adds the relative path to the test to the
log and formats any arguments using the textwrap package.
Example:
Starting: path/to/test suite-supplied mode:long scratch:/tmp/9pm_i78hxc2f
base:/home/jocke/src/infix/test/9pm/unit_tests/harness
optional-positive:yes skip-positive:yes cmdl-supplied
2025-09-14 07:03:39 1..6
...
Signed-off-by: Joachim Wiberg <[email protected]>1 parent 5ebb449 commit 62bd186
1 file changed
+11
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
65 | 66 | | |
66 | 67 | | |
67 | 68 | | |
| 69 | + | |
68 | 70 | | |
69 | | - | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
70 | 80 | | |
71 | 81 | | |
72 | 82 | | |
| |||
0 commit comments