zephyr/scripts/west_commands/tests/test_imports.py
Esteban Valverde 74ae6f654e scripts: west_commands: runners: add runner for Cyclone V SoC FPGA DK
Add a runner to "flash" and "debug" Cyclone V SoC FPGA Development Kit
the runner is based on OpenOCD and GDB

Signed-off-by: Esteban Valverde <esteban.valverde.vega@intel.com>
2022-05-10 13:29:47 -04:00

42 lines
1.3 KiB
Python

# Copyright (c) 2018 Foundries.io
#
# SPDX-License-Identifier: Apache-2.0
from runners.core import ZephyrBinaryRunner
def test_runner_imports():
# Ensure that all runner modules are imported and returned by
# get_runners().
#
# This is just a basic sanity check against errors introduced by
# tree-wide refactorings for runners that don't have their own
# test suites.
runner_names = set(r.name() for r in ZephyrBinaryRunner.get_runners())
# Please keep this sorted alphabetically.
expected = set(('arc-nsim',
'blackmagicprobe',
'bossac',
'canopen',
'dediprog',
'dfu-util',
'esp32',
'gd32isp',
'hifive1',
'intel_cyclonev',
'intel_s1000',
'jlink',
'mdb-nsim',
'mdb-hw',
'misc-flasher',
'nios2',
'nrfjprog',
'openocd',
'pyocd',
'qemu',
'spi_burn',
'stm32cubeprogrammer',
'stm32flash',
'xtensa'))
assert runner_names == expected