zephyr/scripts/west_commands/tests
Martí Bolívar 65e3593bf9 west_commands: runners: reserve -O for --tool-opt
The --tool-opt runner option is the recommended practice for allowing
runners to take additional arguments that are passed on to the
underlying tool. It exists because we don't want to add one runner
option for every single tool option that users might want to tweak --
that would be a nightmare.

Enough runners are using this option that it's time to promote it to a
common runner capability with consistent behavior, the same way we did
for the --dev-id option in the past. This removes boilerplate from
individual runner files and ensures consistent argument handling for
this option when it is supported.

Since --tool-opt is a bit long to type, and we've had some complaints
about that, take this as an opportunity to standardize on -O as a
short option equivalent for it.

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2022-08-03 05:06:53 +01:00
..
nrfjprog runners: nrfjprog: workaround for multi-core hex files 2021-03-19 09:52:13 -04:00
conftest.py scripts: runners: openocd: Enable thread awareness 2021-08-27 06:44:45 -04:00
test_blackmagicprobe.py scripts: runners: add connect_srst support for blackmagicprobe 2021-11-22 22:20:02 -05:00
test_bossac.py scripts: runners: bossac: Add legacy mode 2021-05-21 21:20:58 +02:00
test_build.py
test_canopen_program.py runners: canopen: poll for flash ready 2021-10-14 10:44:21 +02:00
test_dediprog.py scripts: west_commands: tests: Update dediprog expected command 2021-03-16 10:02:57 +01:00
test_dfu_util.py runners: tests: don't patch BuildConfiguration 2021-05-03 09:55:33 -05:00
test_gd32isp.py scripts: runner: Introduce gd32isp flash runner 2021-11-07 05:20:50 -05:00
test_imports.py west: remove intel_s1000_crb runners 2022-06-13 16:19:51 -04:00
test_mdb.py ARC: west: mdb runner: change folder to run MDB 2022-06-02 13:09:51 +02:00
test_nrfjprog.py west: runners: Fix verify warning from nrfjprog 2022-03-01 08:41:40 -08:00
test_pyocd.py west_commands: runners: reserve -O for --tool-opt 2022-08-03 05:06:53 +01:00
test_stm32cubeprogrammer.py runners: stm32cubeprogrammer: add tests 2020-11-04 14:47:35 -06:00
test_stm32flash.py runners: tests: fix os.path.isfile patch 2021-05-03 09:55:33 -05:00