Commit 6970e14
Fix handling of --rerun-except arguments (#226)
Previously, a failure had to match all --rerun-except arguments
to prevent a test from rerunning. Now it will not rerun if one or
more are matched.
Additionally, if --only-rerun and --rerun-except are used together,
a failure must match at least one --only-rerun pattern and none of
the --rerun-except patterns for the test to be rerun. Previously
a test would be rerun if it matched neither --only-rerun nor
--rerun-except.
Fixes #225
---------
Co-authored-by: Michael Howitz <mh@gocept.com>1 parent 5f5734a commit 6970e14
File tree
3 files changed
+84
-17
lines changed3 files changed
+84
-17
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
19 | 30 | | |
20 | 31 | | |
21 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
315 | 315 | | |
316 | 316 | | |
317 | 317 | | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
318 | 336 | | |
319 | 337 | | |
320 | 338 | | |
321 | 339 | | |
322 | 340 | | |
323 | 341 | | |
324 | 342 | | |
325 | | - | |
326 | | - | |
| 343 | + | |
| 344 | + | |
327 | 345 | | |
328 | 346 | | |
329 | | - | |
330 | | - | |
331 | | - | |
332 | | - | |
333 | | - | |
334 | | - | |
335 | | - | |
336 | | - | |
337 | | - | |
338 | | - | |
339 | | - | |
340 | | - | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
341 | 350 | | |
342 | | - | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
343 | 354 | | |
344 | | - | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
345 | 362 | | |
346 | 363 | | |
347 | 364 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
575 | 575 | | |
576 | 576 | | |
577 | 577 | | |
| 578 | + | |
578 | 579 | | |
579 | 580 | | |
580 | 581 | | |
| |||
587 | 588 | | |
588 | 589 | | |
589 | 590 | | |
590 | | - | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
591 | 629 | | |
592 | 630 | | |
593 | 631 | | |
| |||
704 | 742 | | |
705 | 743 | | |
706 | 744 | | |
| 745 | + | |
707 | 746 | | |
708 | 747 | | |
709 | 748 | | |
| |||
0 commit comments