zephyr/scripts
Himanshu Jha 200e847ace scripts: coccicheck: Improve continuous run operation
The current implementation of continuous run operation using
command `./scripts/coccicheck` i.e., without specifying any options,
`coccicheck` default runs in `report` mode with all available
coccinelle scripts present at `scripts/coccinelle/`.

Not all scripts have report mode implemented in them, which
leads to failure of coccicheck.

With this new implementation we choose whatever available mode
is present in coccinelle script and pass it to MODE variable
without stopping continuous coverage.

And perhaps if there are plans to add `coccicheck` as a sanity
checker in future to the Zephyr automated CI, then certainly we
want the warnings/errors produced by scripts to be less verbose
to the users.

Therefore, in this new implementation we prioritise the modes as:

1. report
2. context
3. patch
and lastly falling to
4. org

Lastly, in order to differentiate between outputs of various
coccinelle scripts being run, `x------x` separator has been used
to make reports mode readable.

Signed-off-by: Himanshu Jha <himanshujha199640@gmail.com>
2018-12-05 15:14:05 -05:00
..
checkpatch
ci ci: do not build btsim if not installed 2018-12-03 19:28:01 -05:00
cmake
coccinelle scripts/coccinelle: Add Coccinelle script for unsigned values 2018-12-04 22:51:56 -05:00
cross_compiler
dts scripts: extract_dts_includes: Fix DeprecationWarning 2018-12-04 22:54:46 -05:00
footprint
gitlint gitlint: do not start with subsys: 2018-11-28 09:22:01 -08:00
kconfig
meta/west
sanity_chk
support
.gitignore
check_link_map.py
checkpatch.pl
checkstack.pl
coccicheck scripts: coccicheck: Improve continuous run operation 2018-12-05 15:14:05 -05:00
dir_is_writeable.py
elf_helper.py elf_helper: skip SYS_INIT() "devices" 2018-12-03 11:44:01 -08:00
file2hex.py
filter-known-issues.py
gen_alignment_script.py
gen_app_partitions.py scripts: add missing lincense in scripts/gen_app_partitions.py 2018-11-30 15:22:58 +01:00
gen_cfb_font_header.py
gen_gdt.py
gen_idt.py
gen_kobject_list.py
gen_mmu_x86.py
gen_offset_header.py
gen_priv_stacks.py
gen_syscall_header.py
gen_syscalls.py
mergehex.py cmake: flash: scripts: Include externally built hex files 2018-12-04 19:04:13 +01:00
parse_syscalls.py
process_gperf.py
qemu-machine-hack.py
requirements.txt cmake: flash: scripts: Include externally built hex files 2018-12-04 19:04:13 +01:00
sanitycheck workqueues: don't put k_work in special section 2018-11-29 09:21:18 -08:00
spelling.txt
subfolder_list.py
tags.sh
waitpid
west