mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-09 12:35:28 +00:00
Merge branch 'bugfix/unit_tests_tcpip_adapter' into 'master'
unit tests: Only initialise tcpip_adapter() when needed by the test See merge request idf/esp-idf!3364
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
#include "esp_wifi_types.h"
|
||||
#include "esp_log.h"
|
||||
#include "nvs_flash.h"
|
||||
#include "test_utils.h"
|
||||
|
||||
static const char* TAG = "test_wifi";
|
||||
|
||||
@@ -79,7 +80,9 @@ static void test_wifi_start_stop(wifi_init_config_t *cfg, wifi_config_t* wifi_co
|
||||
}
|
||||
|
||||
TEST_CASE("wifi stop and deinit","[wifi]")
|
||||
{
|
||||
{
|
||||
test_case_uses_tcpip();
|
||||
|
||||
wifi_init_config_t cfg = WIFI_INIT_CONFIG_DEFAULT();
|
||||
wifi_config_t wifi_config = {
|
||||
.sta = {
|
Reference in New Issue
Block a user