zephyr/scripts
Dmitrii Golovanov f31aab58d5 twister: Add configurable flashing timeout
Use explicit flash command execution timeout at DeviceHandler
instead of the hardcoded value of 60 sec.

When a HW platform executes test cases right after the flash command,
the test case remaining timeout is affected by how much time the flash
operation consumes. Some simulation platforms need to spend significant
amount of time on each 'flash' cycle, usually adding the same delay on
each test case.

This improvement adds two new command line options and device map fields:

  --device-flash-timeout - for the flash operation timeout
  ('flash-timeout' device map field).

  --device-flash-with-test - to indicate that the platform flash
  command also runs a test case, so the overall timeout should be
  calculated as a sum of the flash timeout and the current test case
  timeout to receive all console output from the platform
  ('flash-with-test' device map field).

The device map field values override command line values for the
particular platform where configured.

Default behavior is backward compatible: flash operation fixed timeout
is 60 sec. not including the test case timeout.

Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
2023-04-08 18:37:33 +02:00
..
build scripts: gen_handles: cleanup edt loading 2023-04-07 13:37:51 +02:00
checkpatch scripts: checkpatch: add Atmel Pwm typedef 2022-07-12 17:51:23 +02:00
ci tests: boot: test_mcuboot: Add mcuboot log level 2023-04-06 18:51:23 +02:00
coccinelle everywhere: fix typos 2022-03-18 13:24:08 -04:00
coredump treewide: Disable automatic argparse argument shortening 2023-01-26 20:12:36 +09:00
dts edtlib: extract _slice() code to new helper module 2023-02-27 17:44:45 +01:00
footprint footprint: ci: Remove audio SOF samples 2023-03-02 11:46:54 -05:00
generate_usb_vif scripts: generate_vif: cleanup edt loading 2023-04-07 13:37:51 +02:00
gitlint scripts: zephyr_commit_rules: improve commit error messages 2023-02-08 15:03:56 -08:00
kconfig scripts: kconfigfunctions: cleanup edt loading 2023-04-07 13:37:51 +02:00
logging/dictionary treewide: Disable automatic argparse argument shortening 2023-01-26 20:12:36 +09:00
net scripts: net: add enumerate_http_status.py 2022-10-12 09:02:21 -04:00
pylib twister: Add configurable flashing timeout 2023-04-08 18:37:33 +02:00
pylint/checkers scripts: pylint: Add argument parser abbreviation checker 2023-01-26 20:12:36 +09:00
release scripts: add list_devicetree_bindings_changes.py 2023-03-25 11:12:38 +01:00
schemas twister: Add configurable flashing timeout 2023-04-08 18:37:33 +02:00
support treewide: Disable automatic argparse argument shortening 2023-01-26 20:12:36 +09:00
tests twister: add support for levels and test configuration 2023-03-07 15:49:16 +01:00
tracing tracing: scripts: Fix spelling 2023-02-08 01:09:31 +09:00
utils scripts: Create a script to generate an NTC thermistor R/T table 2023-04-07 16:23:17 -05:00
west_commands scripts: runners: bossac: cleanup edt load 2023-04-07 13:37:51 +02:00
.gitignore cleanup: rename sanitycheck references to twister 2021-01-14 07:50:52 -06:00
checkpatch.pl checkpatch: update --exclude docs 2022-12-01 15:48:30 +01:00
checkstack.pl First commit 2015-04-10 16:44:37 -07:00
coccicheck scripts: Allow use of bash outside of /bin 2022-03-08 11:11:10 +01:00
dump_bugs_pickle.py treewide: Disable automatic argparse argument shortening 2023-01-26 20:12:36 +09:00
gen_gcov_files.py treewide: Disable automatic argparse argument shortening 2023-01-26 20:12:36 +09:00
get_maintainer.py treewide: Disable automatic argparse argument shortening 2023-01-26 20:12:36 +09:00
github_helpers.py scripts: add github_helpers.py 2022-05-24 18:48:03 +02:00
list_boards.py treewide: Disable automatic argparse argument shortening 2023-01-26 20:12:36 +09:00
make_bugs_pickle.py treewide: Disable automatic argparse argument shortening 2023-01-26 20:12:36 +09:00
requirements-base.txt scripts: requirements: Move requests and pyserial to base 2023-03-27 07:12:27 -07:00
requirements-build-test.txt scripts: move pip pykwalify from requirements-build-test to -base 2021-01-18 16:56:24 -05:00
requirements-compliance.txt scripts: compliance: add support for YAMLLint 2023-01-04 17:29:23 +01:00
requirements-doc.txt doc: Do not use Sphinx 5.2.0.post0 2022-09-25 10:37:32 +02:00
requirements-extras.txt clang-format: Enable InsertBraces option 2022-12-20 22:51:57 +01:00
requirements-run-test.txt scripts: requirements: Move requests and pyserial to base 2023-03-27 07:12:27 -07:00
requirements.txt python3: add check_compliance package requirements 2020-08-11 14:49:48 -04:00
series-push-hook.sh scripts: series-push-hook: Use main as base comparison branch 2021-05-27 15:55:43 -05:00
set_assignees.py scripts: set_assignee: don't skip assignment on too many labels 2023-01-26 14:57:29 -05:00
snippets.py snippets: Fix cmake path output on Windows 2023-03-27 14:44:39 +00:00
spelling.txt scripts: updated spelling.txt file 2017-07-14 12:57:40 +03:00
tags.sh scripts: Update paths on tags.sh 2021-02-19 05:28:09 -06:00
twister twister: move main to twisterlib/twister_main.py 2023-01-13 15:39:04 -08:00
valgrind.supp lvgl: Suppress memory leak errors detected by valgrind 2019-10-21 12:26:35 -07:00
west-commands.yml west: west twister integration 2023-01-13 15:39:04 -08:00
zephyr_module.py zephyr modules: add 'snippet_root' support to module.yml 2023-03-26 16:12:41 +02:00