Commit 650828c
committed
.tools: Make -v output comply with TAP version 13
Using TAP [1] makes it easy to consume the output of this tool in a
variety of existing harnesses [2].
Only the verbose results are TAP compliant, mostly because folks
aren't likely to care about verbosity if they're just piping the
results into a TAP harness. If we end up wanting the non-verbose
output to be TAP compliant, we'll have to switch to the trailing count
approach explained in the "Unknown amount and failures" section of the
spec [1], and we'll have to keep a running counter of failed checks
(instead of the current len(DefaultRules)-based approach).
[1]: http://testanything.org/tap-version-13-specification.html
[2]: http://testanything.org/consumers.html
Signed-off-by: W. Trevor King <[email protected]>1 parent 66e9ac3 commit 650828c
1 file changed
+10
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
72 | | - | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
73 | 78 | | |
74 | 79 | | |
75 | 80 | | |
76 | 81 | | |
77 | 82 | | |
78 | 83 | | |
79 | 84 | | |
80 | | - | |
| 85 | + | |
81 | 86 | | |
82 | 87 | | |
83 | 88 | | |
84 | 89 | | |
85 | 90 | | |
86 | 91 | | |
87 | | - | |
| 92 | + | |
88 | 93 | | |
89 | | - | |
| 94 | + | |
90 | 95 | | |
91 | 96 | | |
92 | 97 | | |
| |||
0 commit comments