If you don't specify the "--target-implementations" option nor the "ARCHERY_INTEGRATION_TARGET_IMPLEMENTATIONS" environment variable, test patterns are product of all specified implementations and all specified implementations. If "--with-cpp", "--with-java" and "--with-rust" are sp
(with_all=False, random_seed=12345, write_generated_json="",
write_gold_files="", **args)
| 765 | help=("Substring for test names to include in run, " |
| 766 | "e.g. -k primitive")) |
| 767 | def integration(with_all=False, random_seed=12345, write_generated_json="", |
| 768 | write_gold_files="", **args): |
| 769 | """If you don't specify the "--target-implementations" option nor |
| 770 | the "ARCHERY_INTEGRATION_TARGET_IMPLEMENTATIONS" environment |
| 771 | variable, test patterns are product of all specified |
| 772 | implementations and all specified implementations. |
| 773 | |
| 774 | If "--with-cpp", "--with-java" and "--with-rust" are specified, |
| 775 | the following patterns are tested: |
| 776 | |
| 777 | \b |
| 778 | | Producer | Consumer | |
| 779 | |----------|----------| |
| 780 | | C++ | C++ | |
| 781 | | C++ | Java | |
| 782 | | C++ | Rust | |
| 783 | | Java | C++ | |
| 784 | | Java | Java | |
| 785 | | Java | Rust | |
| 786 | | Rust | C++ | |
| 787 | | Rust | Java | |
| 788 | | Rust | Rust | |
| 789 | |
| 790 | If "--target-implementations=cpp,java" or |
| 791 | "ARCHERY_INTEGRATION_TARGET_IMPLEMENTATIONS=cpp,java" is |
| 792 | specified, test patterns are: |
| 793 | |
| 794 | \b |
| 795 | * product of {C++,Java} and {C++,Java} |
| 796 | * product of {C++,Java} and {Rust} |
| 797 | * product of {Rust} and {C++,Java} |
| 798 | |
| 799 | \b |
| 800 | | Producer | Consumer | |
| 801 | |----------|----------| |
| 802 | | C++ | C++ | |
| 803 | | C++ | Java | |
| 804 | | Java | C++ | |
| 805 | | Java | Java | |
| 806 | | C++ | Rust | |
| 807 | | Java | Rust | |
| 808 | | Rust | C++ | |
| 809 | | Rust | Java | |
| 810 | |
| 811 | In general, we can reduce test time by specifying only |
| 812 | implementations in our repository. For example, we can use |
| 813 | "ARCHERY_INTEGRATION_TARGET_IMPLEMENTATIONS=rust" for |
| 814 | apache/arrow-rs. It uses only the following test patterns: |
| 815 | |
| 816 | \b |
| 817 | | Producer | Consumer | |
| 818 | |----------|----------| |
| 819 | | Rust | Rust | |
| 820 | | Rust | C++ | |
| 821 | | Rust | Java | |
| 822 | | C++ | Rust | |
| 823 | | Java | Rust | |
| 824 |
nothing calls this directly
no test coverage detected