Commit Graph

25 Commits (d823756cb731f9f02a70c53b806627580d46c66c)

Author SHA1 Message Date
Evelyne Donnaes 0f2b0d1be5 Fixed greentea tests 2020-03-02 17:27:17 +00:00
Filip Jagodzinski 7d575af4b9 Test: Watchdog: Increase the UART flush wait 2020-01-15 13:34:28 +01:00
Rajkumar Kanagaraj 952330721d Bare metal:Enabling the watchdog green tea test 2020-01-03 11:07:49 +01:00
Filip Jagodzinski 5a0fafdc89 Test: Watchdog: Update the test case teardown
Replace the thread used in the test case teardown with a Ticker to allow
testing with the bare metal profile. This Ticker is used to prevent the
watchdog from resetting the device during the final greentea
communication.
2020-01-02 17:31:32 +01:00
Martin Kojtal 83fc580f79
Merge pull request #11773 from fkjagodzinski/fix-watchdog_reset_test
Fix watchdog reset test
2019-11-22 22:26:44 +01:00
RAJKUMAR KANAGARAJ 6437f99a11 Error message correction and rx_lib header filer removed on systimer test case 2019-11-08 16:11:11 -08:00
RAJKUMAR KANAGARAJ b1731ce3c8 -New PR for PSA,Netsocket,storage components,reverted all the changes to back to original
-Change the #error description more precisely
 -Separated the MBED_CONF_RTOS_PRESENT guarded
2019-11-06 01:59:05 -08:00
RAJKUMAR KANAGARAJ 302f595c28 - Emac,NFC-EEPROM,PSA-CRYPTO components build issue fixed
- RTOS supported test case guarded with MBED_CONF_RTOS_PRESENT flag
 - Added the #error to non supported test case for bare metal
2019-11-06 01:57:29 -08:00
Filip Jagodzinski 55e1a760cb Test: Watchdog: Update the deepsleep wait
Extend the deepsleep wait up to 220% of the Watchdog timeout.
One of the current Watchdog timing requirements is to fire BEFORE twice
the timeout value, but at least one target (K64F) is expected to fire
EXACTLY at a doubled timeout value in deepsleep mode. This patch updates
the test to cope with a new deepsleep timing requirement.
2019-11-05 11:49:39 +01:00
Filip Jagodzinski 8640da4f9d Test: Watchdog: Update the sleep & deepsleep cases
Use ThisThread::sleep_for() for sleeping instead of the calls to
Semaphore::acquire().
2019-10-30 12:51:47 +01:00
Filip Jagodzinski 361804b91d Test: Watchdog: Fix deepsleep wait
Wait for the serial buffers flush before starting the watchdog.
2019-10-30 12:51:47 +01:00
Filip Jagodzinski e3f8711818 Test: Watchdog: Update the deprecated calls
Replace the wait_ms() with wait_us().
Replace the Semaphore::wait() with Semaphore::acquire().
2019-10-30 12:51:46 +01:00
Filip Jagodzinski 2410257551 Test: Watchdog: Fix LP ticker preproc condition 2019-10-30 12:51:46 +01:00
Filip Jagodzinski 7af11fa4b5 Test: Watchdog: Fix error handling
Add a watchdog-kicking thread running in the background when the test
suite is handling a failed assertion. A single watchdog kick did not
provide enough time for the greentea communication if the watchdog
reset happened later than expected.
2019-10-30 12:51:19 +01:00
int_szyk da70c886c1 tweak watchdog kick reset test
Change the value of KICK_ADVANCE_MS so targets pass the test in worst cases
2019-08-13 08:16:24 +02:00
int_szyk ae6f8be146 Newline at the end of files 2019-08-01 08:44:58 +02:00
int_szyk 8b68a1ea58 Updated testcases 2019-07-31 10:46:38 +02:00
Filip Jagodzinski 9e2a1816bb Test: Watchdog: Fix astyle errors 2019-07-02 12:46:23 +01:00
Filip Jagodzinski a5ad5e04ca Test: Watchdog: Add new driver tests 2019-07-02 12:46:23 +01:00
Filip Jagodzinski 2dd5216ceb Tests: Watchdog: Remove outdated driver tests
The Watchdog driver has been updated making these tests incompatible
with the new API. The Watchdog driver functionality is tested with the
unit tests located in UNITTESTS/drivers/Watchdog/ .
2019-06-03 16:32:14 +02:00
Filip Jagodzinski 16863bb972 Docs: Watchdog: Update code comments
* capitalize driver class name,
* reword test docs for the driver & HAL,
* capitalize Mbed name,
* reword the comments explaining the SERIAL_FLUSH_TIME_MS macro.
2019-05-24 12:23:44 +02:00
Donatien Garnier f9ac1567af Fix more astyle failures 2019-05-24 12:23:37 +02:00
Donatien Garnier 91ef36809f Apply new astyle config style 2019-05-24 12:23:36 +02:00
Donatien Garnier 3ab0fbc7cf Update license headers 2019-05-24 12:23:35 +02:00
Filip Jagodzinski 8baf16760d Tests: Drivers: Watchdog: Add tests 2019-05-24 11:35:28 +02:00