Commit 6850d72
committed
Merge bitcoin/bitcoin#29497: test: simplify test_runner.py
0831b54 test: simplify test_runner.py (tdb3)
Pull request description:
Implements the simplifications to test_runner.py proposed by sipa in PR #23995.
Remove the num_running variable as it can be implied by the length of the jobs list.
Remove the i variable as it can be implied by the length of the test_results list.
Instead of counting results to determine if finished, make the queue object itself
responsible (by looking at running jobs and jobs left).
ACKs for top commit:
mzumsande:
re-ACK 0831b54
davidgumberg:
reACK bitcoin/bitcoin@0831b54
marcofleon:
re-ACK 0831b54
Tree-SHA512: e5473e68d49cd779b29d97635329283ae7195412cb1e92461675715ca7eedb6519a1a93ba28d40ca6f015d270f7bcd3e77cef279d9cd655155ab7805b49638f11 file changed
+6
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
614 | 614 | | |
615 | 615 | | |
616 | 616 | | |
617 | | - | |
618 | | - | |
| 617 | + | |
619 | 618 | | |
620 | 619 | | |
621 | 620 | | |
622 | 621 | | |
623 | | - | |
624 | | - | |
| 622 | + | |
625 | 623 | | |
626 | 624 | | |
627 | 625 | | |
| |||
706 | 704 | | |
707 | 705 | | |
708 | 706 | | |
709 | | - | |
710 | 707 | | |
711 | 708 | | |
712 | 709 | | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
713 | 713 | | |
714 | | - | |
| 714 | + | |
715 | 715 | | |
716 | | - | |
717 | 716 | | |
718 | 717 | | |
719 | 718 | | |
| |||
757 | 756 | | |
758 | 757 | | |
759 | 758 | | |
760 | | - | |
761 | 759 | | |
762 | 760 | | |
763 | 761 | | |
| |||
0 commit comments