mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-10 20:54:24 +00:00
ci: Migrate app_update unit tests from unit-test-app to component-test-app
This commit is contained in:
16
components/app_update/test_apps/main/app_main.c
Normal file
16
components/app_update/test_apps/main/app_main.c
Normal 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());
|
||||
}
|
Reference in New Issue
Block a user