zephyr/scripts
Tristan Honscheid dbbe80226d twister: Fix dependency on west when checking for projects
Twister should be partially usable even without West installed, however,
Twister unconditionally tries to import it when initializing to check
for west projects and crashes if it is not there.

This PR changes the behavior to return None if the west imports failed,
which appears to be more in line with what was intended. This allows
Twister to proceed and successfully run tests in a non-west environment.
There is no impact on environments that do have west installed.

Fixes #45355

Signed-off-by: Tristan Honscheid <honscheid@google.com>
2022-05-09 13:48:17 -07:00
..
checkpatch scripts/checkpatch: typdefsfile: Derogate on STM32Cube CMSIS *_TypeDef 2022-03-21 10:11:54 +01:00
ci ci: testplan: limit test scope on global changes 2022-05-06 08:19:49 -04:00
coccinelle everywhere: fix typos 2022-03-18 13:24:08 -04:00
coredump coredump: Add callee registers to arm arch block 2022-04-13 13:26:37 -07:00
dts gen_defines: add _CHILD_IDX macros for nodes with parents 2022-03-24 10:48:40 +01:00
footprint everywhere: fix typos 2022-03-18 13:24:08 -04:00
gitlint scripts: gitlint: block Change-Id tags in commit message 2022-04-20 20:59:33 -04:00
kconfig scripts: kconfigfunctions: Redefine dt_nodelabel_has_compat() 2022-04-02 15:14:38 +02:00
logging/dictionary scripts: logging/dictionary/sys-t: log module info in collateral 2022-05-09 12:54:53 -05:00
net
pylib/twister twister: implement platform-specific test timeout management 2022-05-04 19:01:11 -04:00
release
schemas/twister twister: implement platform-specific test timeout management 2022-05-04 19:01:11 -04:00
support
tests twister: Modify twister test for run_id in csv files 2022-05-04 09:39:50 -05:00
tracing
utils scripts: utils: pinctrl_nrf_migrate: support more peripherals 2022-03-21 15:09:28 +01:00
west_commands west: spdx: Exclude files not present after build 2022-03-24 14:54:20 +01:00
.gitignore
checkpatch.pl scripts: checkpatch: add Co-authored-by tag 2022-04-21 02:02:39 +09:00
checkstack.pl
coccicheck
dir_is_writeable.py
file2hex.py
gen_app_partitions.py
gen_cfb_font_header.py
gen_gcov_files.py
gen_handles.py scripts: gen_handles: update to handle <zephyr/...> include prefix 2022-05-09 12:45:29 -04:00
gen_image_info.py
gen_kobject_list.py everywhere: fix typos 2022-03-18 13:24:08 -04:00
gen_kobject_placeholders.py everywhere: fix typos 2022-03-18 13:24:08 -04:00
gen_offset_header.py
gen_relocate_app.py code_relocation: Move NOCOPY flag to avoid OS drive colon 2022-03-22 12:33:40 +01:00
gen_syscalls.py scripts: gen_syscalls: update to handle <zephyr/...> include prefix 2022-05-09 12:45:29 -04:00
get_maintainer.py scripts: get_maintainer: Use SafeLaoder for yaml 2022-04-13 13:48:18 -07:00
list_boards.py
mergehex.py
parse_syscalls.py everywhere: fix typos 2022-03-18 13:24:08 -04:00
process_gperf.py
requirements-base.txt
requirements-build-test.txt
requirements-compliance.txt
requirements-doc.txt doc: enable sphinx-copybutton extension 2022-03-25 15:05:13 -07:00
requirements-extras.txt
requirements-run-test.txt
requirements.txt
series-push-hook.sh
spelling.txt
subfolder_list.py
tags.sh
twister twister: allow filtering based on modules 2022-04-19 09:38:55 -04:00
uf2conv.py
user_wordsize.py
valgrind.supp
west-commands.yml
zephyr_module.py twister: Fix dependency on west when checking for projects 2022-05-09 13:48:17 -07:00