Update tests for assert and abort

- Place panic_abort in IRAM
- Added abort, assert test case in case of cache disabled
- Expect assert instead of abort in a freertos_mutex test
This commit is contained in:
Sachin Parekh
2021-06-28 17:48:43 +05:30
committed by bot
parent 659cfcb1f6
commit cc9d354ba8
6 changed files with 86 additions and 11 deletions

View File

@@ -14,7 +14,7 @@ static void mutex_release_task(void* arg)
TEST_FAIL_MESSAGE("should not be reached");
}
TEST_CASE("mutex released not by owner causes an assert", "[freertos][reset=abort,SW_CPU_RESET]")
TEST_CASE("mutex released not by owner causes an assert", "[freertos][reset=assert,SW_CPU_RESET]")
{
SemaphoreHandle_t mutex = xSemaphoreCreateMutex();
xSemaphoreTake(mutex, portMAX_DELAY);