-
Notifications
You must be signed in to change notification settings - Fork 3k
Update the Watchdog & Reset_reason host test scripts #8846
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update the Watchdog & Reset_reason host test scripts #8846
Conversation
Move the calls to get_config_item() to the setup() method. The config is not available in the initializer yet.
Change the config parameter used as a delay before sending the sync packet after the device reset in watchdog and reset_reason tests. Use 'forced_reset_timeout' instead of 'program_cycle_s'.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good @fkjagodzinski, thanks!
This one needs to land for 8801 to pass ? Or it's just cosmetic update? |
Sounds good to me 👍 |
Test run: SUCCESSSummary: 3 of 3 test jobs passed |
As this is ready, I'll merge it as we are waiting for reviews in 8801 (I am reviewing now). |
Description
Update the host test scripts used by Watchdog and Reset_reason HAL tests to use
forced_reset_timeout
config parameter instead ofprogram_cycle_s
. This is based on PR #8309, which explains such change refering to https://github.com/ARMmbed/htrun/blob/1c570ec77d8c5673dae55dc790302d86d712c36b/mbed_host_tests/__init__.py#L132-L144Pull request type