aboutsummaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorAva Chow <github@achow101.com>2024-09-04 15:55:42 -0400
committerAva Chow <github@achow101.com>2024-09-04 15:55:42 -0400
commit93e48240bfdc25c2760d33da69e739ba1f92da9b (patch)
treea17e423d4ef28abea3fa873fccc3a028eea0ddfa /util
parentf640b323bdf9def32eda67cad5824cb4d309b879 (diff)
parent8131bf7483c0ea10d3573c9f2e977d19d8569b7f (diff)
downloadbitcoin-master.tar.xz
Merge bitcoin/bitcoin#30244: ci: parse TEST_RUNNER_EXTRA into an arrayHEADmaster
8131bf7483c0ea10d3573c9f2e977d19d8569b7f ci: parse TEST_RUNNER_EXTRA into an array (Max Edwards) c4762b0aa06f2654d108bc7ca05887ffd88cf6f8 test: allow excluding func test by name and arg (Max Edwards) Pull request description: While working on CI I wanted to disable some functional tests so I used the `TEST_RUNNER_EXTRA` var. The problem I had was tests that have flags such as `rpc_bind.py --ipv6` must be passed in quotes otherwise the `--ipv6` portion will be considered an argument to `test_runner.py` rather than a test name. This change allows proper parsing of quotes and complex values such as: ```shell TEST_RUNNER_EXTRA='--exclude "rpc_bind.py --ipv6,feature_proxy.py"' ``` Update: While testing this it was noticed that `test_runner.py` when given `--exclude "rpc_bind.py --ipv6"` will exclude all `rpc_bind.py` tests so this PR has been updated to include a change to the test runner to only exclude the specific test if you pass an arg or exclude all tests of that name if you do not pass an arg. `--exclude rpc_bind.py` will exclude all three variants and `--exclude rpc_bind --ipv6` will only exclude the IPV6 variant. ACKs for top commit: maflcko: ACK 8131bf7483c0ea10d3573c9f2e977d19d8569b7f achow101: ACK 8131bf7483c0ea10d3573c9f2e977d19d8569b7f hebasto: ACK 8131bf7483c0ea10d3573c9f2e977d19d8569b7f, tested on Ubuntu 23.10 and Windows 11. Tree-SHA512: 82b73f12d627f533d8e5be4a518d455ef4427a755bbe03ccd11d0bb70c7ff3cee76220b0264fcfb236661c4cf5deba034cbfc2372b96d5861f3436c21eae8264
Diffstat (limited to 'util')
0 files changed, 0 insertions, 0 deletions