mirror of
https://github.com/espressif/esp-idf.git
synced 2025-12-07 09:02:08 +00:00
tests: re-add all disabled tests and all disabled configurations
This commit is contained in:
committed by
Angus Gratton
parent
206540909e
commit
3057b76a7e
@@ -19,7 +19,7 @@ void test_task_get_state(void* arg)
|
||||
//Idle task of current core should return eReady
|
||||
TEST_ASSERT(eTaskGetState(xTaskGetIdleTaskHandle()) == eReady);
|
||||
//Blocked Task should return eBlocked
|
||||
TEST_ASSERT(eTaskGetState(blocked_task_handle) == eSuspended);
|
||||
TEST_ASSERT(eTaskGetState(blocked_task_handle) == eBlocked);
|
||||
//Suspended Task should return eSuspended
|
||||
TEST_ASSERT(eTaskGetState(suspended_task_handle) == eSuspended);
|
||||
|
||||
@@ -29,8 +29,10 @@ void test_task_get_state(void* arg)
|
||||
|
||||
void blocked_task(void *arg)
|
||||
{
|
||||
uint32_t notify_value;
|
||||
|
||||
while(1){
|
||||
vTaskDelay(portMAX_DELAY);
|
||||
xTaskNotifyWait(0, 0xFFFFFFFF, ¬ify_value, portMAX_DELAY);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user