zephyr/scripts
Ulf Magnusson 5372dedf2f scripts: kconfig: lint.py: Improve error reporting
If the working directory for a command was missing (usually due to
forgetting to run 'west update'), you'd get a FileNotFoundError
exception along with a cryptic error like

    'git' not found

Only catch OSError instead (which is a base class of FileNotFoundError),
and always show the exception message. It makes it clear that it's the
working directory that's missing.

Add some other misc. improvements too:

 - Turn stderr output from external commands into a warning instead of
   an error

 - Add err() and warn() helpers

 - Include the command name in messages

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2020-01-09 11:19:57 -05:00
..
checkpatch
ci
coccinelle
dts dts: edtlib: Add 'type: path' for path references 2020-01-08 08:02:00 -06:00
footprint
gitlint
kconfig scripts: kconfig: lint.py: Improve error reporting 2020-01-09 11:19:57 -05:00
release
sanity_chk sanitycheck: additional scripting hook after flashing 2020-01-06 13:58:10 -05:00
support
west_commands
.gitignore
checkpatch.pl
checkstack.pl
coccicheck
dir_is_writeable.py
elf_helper.py
file2hex.py
filter-known-issues.py
gen_app_partitions.py
gen_cfb_font_header.py
gen_gcov_files.py
gen_kobject_list.py doc: document python build scripts 2020-01-02 17:09:29 -05:00
gen_offset_header.py doc: document python build scripts 2020-01-02 17:09:29 -05:00
gen_priv_stacks.py
gen_relocate_app.py doc: document python build scripts 2020-01-02 17:09:29 -05:00
gen_syscalls.py
mergehex.py scripts: cmake: move print from python to cmake 2020-01-03 08:20:08 -05:00
parse_syscalls.py
process_gperf.py
requirements.txt
sanitycheck sanitycheck: additional scripting hook after flashing 2020-01-06 13:58:10 -05:00
series-push-hook.sh
spelling.txt
subfolder_list.py
tags.sh
valgrind.supp
west-commands.yml
zephyr_module.py west: Fix defining modules without a module.yml 2019-12-19 15:52:44 -05:00