mirror of https://github.com/ARMmbed/mbed-os.git
Test: Watchdog: Fix LP ticker preproc condition
parent
7af11fa4b5
commit
2410257551
|
|
@ -178,7 +178,7 @@ void test_sleep_reset()
|
||||||
TEST_ASSERT_MESSAGE(0, "Watchdog did not reset the device as expected.");
|
TEST_ASSERT_MESSAGE(0, "Watchdog did not reset the device as expected.");
|
||||||
}
|
}
|
||||||
|
|
||||||
#if DEVICE_LOWPOWERTIMER
|
#if DEVICE_LPTICKER
|
||||||
void test_deepsleep_reset()
|
void test_deepsleep_reset()
|
||||||
{
|
{
|
||||||
// Phase 2. -- verify the test results.
|
// Phase 2. -- verify the test results.
|
||||||
|
|
@ -335,7 +335,7 @@ Case cases[] = {
|
||||||
Case("Watchdog reset", case_setup, test_simple_reset),
|
Case("Watchdog reset", case_setup, test_simple_reset),
|
||||||
#if DEVICE_SLEEP
|
#if DEVICE_SLEEP
|
||||||
Case("Watchdog reset in sleep mode", case_setup, test_sleep_reset),
|
Case("Watchdog reset in sleep mode", case_setup, test_sleep_reset),
|
||||||
#if DEVICE_LOWPOWERTIMER
|
#if DEVICE_LPTICKER
|
||||||
Case("Watchdog reset in deepsleep mode", case_setup, test_deepsleep_reset),
|
Case("Watchdog reset in deepsleep mode", case_setup, test_deepsleep_reset),
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -171,7 +171,7 @@ void test_sleep_reset()
|
||||||
TEST_ASSERT_MESSAGE(0, "Watchdog did not reset the device as expected.");
|
TEST_ASSERT_MESSAGE(0, "Watchdog did not reset the device as expected.");
|
||||||
}
|
}
|
||||||
|
|
||||||
#if DEVICE_LOWPOWERTIMER
|
#if DEVICE_LPTICKER
|
||||||
void test_deepsleep_reset()
|
void test_deepsleep_reset()
|
||||||
{
|
{
|
||||||
// Phase 2. -- verify the test results.
|
// Phase 2. -- verify the test results.
|
||||||
|
|
@ -320,7 +320,7 @@ Case cases[] = {
|
||||||
Case("Watchdog reset", case_setup, test_simple_reset),
|
Case("Watchdog reset", case_setup, test_simple_reset),
|
||||||
#if DEVICE_SLEEP
|
#if DEVICE_SLEEP
|
||||||
Case("Watchdog reset in sleep mode", case_setup, test_sleep_reset),
|
Case("Watchdog reset in sleep mode", case_setup, test_sleep_reset),
|
||||||
#if DEVICE_LOWPOWERTIMER
|
#if DEVICE_LPTICKER
|
||||||
Case("Watchdog reset in deepsleep mode", case_setup, test_deepsleep_reset),
|
Case("Watchdog reset in deepsleep mode", case_setup, test_deepsleep_reset),
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue