mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-07 01:45:08 +00:00
* add the runner script for metaware debugger(mdb). * mdb is required for SMP case * mdb also can provides a GUI interface Signed-off-by: Wayne Ren <wei.ren@synopsys.com>
37 lines
1.1 KiB
Python
37 lines
1.1 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',
|
|
'hifive1',
|
|
'intel_s1000',
|
|
'jlink',
|
|
'mdb',
|
|
'misc-flasher',
|
|
'nios2',
|
|
'nrfjprog',
|
|
'openocd',
|
|
'pyocd',
|
|
'qemu',
|
|
'stm32flash',
|
|
'xtensa'))
|
|
assert runner_names == expected
|