34b1ef8dd8
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> |
||
---|---|---|
.. | ||
checkpatch | ||
ci | ||
coccinelle | ||
dts | ||
footprint | ||
gitlint | ||
kconfig | ||
release | ||
sanity_chk | ||
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 | ||
gen_offset_header.py | ||
gen_priv_stacks.py | ||
gen_relocate_app.py | ||
gen_syscalls.py | ||
mergehex.py | ||
parse_syscalls.py | ||
process_gperf.py | ||
requirements.txt | ||
sanitycheck | ||
series-push-hook.sh | ||
spelling.txt | ||
subfolder_list.py | ||
tags.sh | ||
valgrind.supp | ||
west-commands.yml | ||
zephyr_module.py |