Commit 6d7aa3d
Merge 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 bitcoin#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@0831b54
marcofleon:
re-ACK 0831b54
Tree-SHA512: e5473e68d49cd779b29d97635329283ae7195412cb1e92461675715ca7eedb6519a1a93ba28d40ca6f015d270f7bcd3e77cef279d9cd655155ab7805b49638f11 parent d0e15d5 commit 6d7aa3d
1 file changed
+6
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
592 | 592 | | |
593 | 593 | | |
594 | 594 | | |
595 | | - | |
596 | | - | |
| 595 | + | |
597 | 596 | | |
598 | 597 | | |
599 | 598 | | |
600 | 599 | | |
601 | | - | |
602 | | - | |
| 600 | + | |
603 | 601 | | |
604 | 602 | | |
605 | 603 | | |
| |||
684 | 682 | | |
685 | 683 | | |
686 | 684 | | |
687 | | - | |
688 | 685 | | |
689 | 686 | | |
690 | 687 | | |
691 | 688 | | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
692 | 692 | | |
693 | | - | |
| 693 | + | |
694 | 694 | | |
695 | | - | |
696 | 695 | | |
697 | 696 | | |
698 | 697 | | |
| |||
764 | 763 | | |
765 | 764 | | |
766 | 765 | | |
767 | | - | |
768 | 766 | | |
769 | 767 | | |
770 | 768 | | |
| |||
0 commit comments