zephyr/scripts
Kumar Gala 34b1ef8dd8 sanitycheck: Fix process termination with newer ninja version
It appears that ninja 1.6.0 or greater don't seem to send SIGTERM down
to the child processes and thus we don't terminate correctly.  This
causes a hang with renode simulations.

Change terminate call to 'self.try_kill_process_by_pid()' when test
state is updated (i.e. done running with either passed or failed), in
order to explicitly send a SIGTERM to the simulator process before
sending a SIGTERM to ninja.

Refactor the terminate code so we encapsulate the behavior in one place
for a BinaryHandler.

Based on change from Stephanos Ioannidis <root@stephanos.io>

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2019-12-12 09:17:31 -05:00
..
checkpatch
ci nrf52_bsim: Use HW models from new west module 2019-12-11 11:33:02 +01:00
coccinelle scripts/coccinelle: add k_thread create/define to timeout standardization 2019-10-09 08:38:10 -04:00
dts dts: edtlib: remove diagnostic on required with default 2019-12-12 07:55:34 -06:00
footprint
gitlint
kconfig hardening: Introducing hardenconfig tool 2019-12-09 12:54:29 -05:00
release scripts: add script for listing closed bugs 2019-10-22 15:11:09 -04:00
sanity_chk release: fix sanitycheck release file 2019-12-09 22:46:21 -05:00
support
west_commands scripts: add new west build "build.cmake-args" config option 2019-12-10 16:19:18 +01:00
.gitignore
checkpatch.pl syscalls: Remove references to __syscall_inline 2019-12-09 12:47:15 -05:00
checkstack.pl
coccicheck
dir_is_writeable.py global: Remove leading/trailing blank lines in files 2019-12-11 19:17:27 +01:00
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 drivers: eeprom: add API for EEPROM devices 2019-11-07 16:32:15 -05:00
gen_offset_header.py
gen_priv_stacks.py
gen_relocate_app.py headers: Refactor kernel and arch headers. 2019-11-06 16:07:32 -08:00
gen_syscalls.py syscalls: Remove gen_syscall_header.py 2019-12-09 16:08:50 +01:00
mergehex.py
parse_syscalls.py
process_gperf.py
requirements.txt scripts/requirements: update PyYAML to >=5.1 2019-11-05 08:30:30 -05:00
sanitycheck sanitycheck: Fix process termination with newer ninja version 2019-12-12 09:17:31 -05:00
series-push-hook.sh
spelling.txt
subfolder_list.py
tags.sh
valgrind.supp lvgl: Suppress memory leak errors detected by valgrind 2019-10-21 12:26:35 -07:00
west-commands.yml
zephyr_module.py cmake: ensure zephyr_module.py creates posix path output for cmake 2019-11-06 16:18:43 +01:00