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 kernel: rename NANO_ESF 2019-07-25 15:06:58 -07:00
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 scripts: footprint: Fix pylint warnings 2019-09-14 13:35:08 +08:00
gitlint zephyr_commit_rules.py: Fix pylint warning by simplifying conditional 2019-09-08 22:19:37 -04:00
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 scripts: Simplify code with sys.exit(<string>) 2019-09-08 12:34:16 +02:00
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 docs: fix misspelling across the tree 2019-06-19 15:34:13 -05:00
dir_is_writeable.py global: Remove leading/trailing blank lines in files 2019-12-11 19:17:27 +01:00
elf_helper.py scripts: elf_helper.py: fix C++ template constexpr value processing 2019-09-17 20:49:34 +08:00
file2hex.py file2hex.py: new --gzip-mtime option that defaults to zero + test 2019-04-17 08:27:40 -04:00
filter-known-issues.py filter-known-issues.py: Remove '== True' test 2019-09-08 22:20:20 -04:00
gen_app_partitions.py scripts: Fix random typo'd whitespace 2019-09-07 07:54:17 -04:00
gen_cfb_font_header.py scripts: Fix random typo'd whitespace 2019-09-07 07:54:17 -04:00
gen_gcov_files.py gen_gcov_files.py: Replace bare 'except' with 'except Exception' 2019-09-07 07:58:16 -04:00
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 scripts: Simplify code with sys.exit(<string>) 2019-09-08 12:34:16 +02:00
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 scripts: mergehex: Add --overlap argument 2019-05-16 07:16:55 -05:00
parse_syscalls.py
process_gperf.py scripts: Simplify code with sys.exit(<string>) 2019-09-08 12:34:16 +02:00
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 cmake: Encode and decode in UTF-8 in build system 2019-07-18 16:50:08 +02:00
tags.sh
valgrind.supp lvgl: Suppress memory leak errors detected by valgrind 2019-10-21 12:26:35 -07:00
west-commands.yml west: Add completion command 2019-05-10 13:08:27 +02:00
zephyr_module.py cmake: ensure zephyr_module.py creates posix path output for cmake 2019-11-06 16:18:43 +01:00