Commit f87fa1c
committed
test/mi: Improve test OK reporting, print log data separately
Currently, we have a confusing output for tests (all of which currenly
pass):
$ ./obj/test/test-mi
crc mismatch
$ echo $?
0
This change adds reporting for each test, and separates the nvme_msg log
data from the report:
$ ./obj/test/test-mi
Running test read_mi_data... OK
Running test transport_fail... OK
Running test invalid_crc... OK
--- begin test output
crc mismatch
--- end test output
Signed-off-by: Jeremy Kerr <[email protected]>1 parent d0bdf73 commit f87fa1c
1 file changed
Lines changed: 68 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
10 | 14 | | |
11 | 15 | | |
12 | 16 | | |
| |||
189 | 193 | | |
190 | 194 | | |
191 | 195 | | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
192 | 251 | | |
193 | 252 | | |
194 | 253 | | |
195 | 254 | | |
196 | 255 | | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
197 | 261 | | |
198 | | - | |
| 262 | + | |
199 | 263 | | |
200 | 264 | | |
201 | 265 | | |
202 | 266 | | |
203 | 267 | | |
204 | | - | |
205 | | - | |
206 | | - | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
207 | 271 | | |
208 | 272 | | |
209 | 273 | | |
| |||
0 commit comments