ci: Migrate mbedtls unit tests from unit-test-app to component-test-app

This commit is contained in:
harshal.patil
2022-09-07 16:23:54 +05:30
committed by Mahavir Jain
parent a2c132c5c3
commit 146f101289
51 changed files with 171 additions and 42 deletions

View File

@@ -0,0 +1,19 @@
/*
* SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Unlicense OR CC0-1.0
*/
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "test_utils.h"
static void test_task(void *pvParameters)
{
vTaskDelay(2); /* Delay a bit to let the main task be deleted */
unity_run_menu();
}
void app_main(void)
{
xTaskCreatePinnedToCore(test_task, "testTask", UNITY_FREERTOS_STACK_SIZE, NULL, UNITY_FREERTOS_PRIORITY, NULL, UNITY_FREERTOS_CPU);
}