wpa_supplicant: remove header file MD5 unit test

This commit is contained in:
Ivan Grokhotkov 2019-11-27 09:19:36 +01:00 committed by Jack
parent 680c48f86f
commit 4872dcea2e
2 changed files with 1 additions and 22 deletions

View File

@ -7,5 +7,4 @@ COMPONENT_SRCDIRS := .
COMPONENT_ADD_LDFLAGS = -Wl,--whole-archive -l$(COMPONENT_NAME) -Wl,--no-whole-archive
WIFI_SUPPLICANT_MD5_VAL=\"$(shell md5sum $(IDF_PATH)/components/wpa_supplicant/src/esp_supplicant/esp_wifi_driver.h | cut -c 1-7)\"
CFLAGS+=-DWIFI_SUPPLICANT_MD5=$(WIFI_SUPPLICANT_MD5_VAL) -DCONFIG_WPA3_SAE
CFLAGS+= -DCONFIG_WPA3_SAE

View File

@ -1,20 +0,0 @@
/*
Tests for the Wi-Fi
*/
#include "unity.h"
#include "esp_log.h"
#include "utils/common.h"
#include "esp_supplicant/esp_wifi_driver.h"
static const char* TAG = "test_header_files_md5";
TEST_CASE("wifi supplicant header files MD5","[wpa_supplicant]")
{
const char *test_wifi_supplicant_header_md5 = WIFI_SUPPLICANT_MD5;
ESP_LOGI(TAG, "test wifi supplicant MD5...");
TEST_ESP_OK(esp_wifi_internal_supplicant_header_md5_check(test_wifi_supplicant_header_md5));
ESP_LOGI(TAG, "test passed...");
}