File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -87,6 +87,7 @@ void lp_ticker_info_test()
87
87
TEST_ASSERT (p_ticker_info->bits >= 12 );
88
88
}
89
89
90
+ #if DEVICE_SLEEP
90
91
/* Test that the ticker continues operating in deep sleep mode. */
91
92
void lp_ticker_deepsleep_test ()
92
93
{
@@ -115,6 +116,7 @@ void lp_ticker_deepsleep_test()
115
116
116
117
TEST_ASSERT_EQUAL (1 , intFlag);
117
118
}
119
+ #endif
118
120
119
121
/* Test that the ticker does not glitch backwards due to an incorrectly implemented ripple counter driver. */
120
122
void lp_ticker_glitch_test ()
@@ -141,7 +143,9 @@ utest::v1::status_t test_setup(const size_t number_of_cases)
141
143
142
144
Case cases[] = {
143
145
Case (" lp ticker info test" , lp_ticker_info_test),
146
+ #if DEVICE_SLEEP
144
147
Case (" lp ticker sleep test" , lp_ticker_deepsleep_test),
148
+ #endif
145
149
Case (" lp ticker glitch test" , lp_ticker_glitch_test)
146
150
};
147
151
You can’t perform that action at this time.
0 commit comments