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

This commit is contained in:
harshal.patil
2022-10-17 10:40:46 +05:30
committed by BOT
parent 6a8810fa39
commit 9f6e433bb5
29 changed files with 187 additions and 128 deletions

View File

@@ -0,0 +1,16 @@
/*
* SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Unlicense OR CC0-1.0
*/
#include "unity.h"
#include "nvs_flash.h"
#include "nvs.h"
#include "esp_err.h"
void app_main(void)
{
ESP_ERROR_CHECK(nvs_flash_init());
unity_run_menu();
ESP_ERROR_CHECK(nvs_flash_deinit());
}