mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
wpa_supplicant: remove header file MD5 unit test
This commit is contained in:
parent
680c48f86f
commit
4872dcea2e
@ -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
|
||||
|
@ -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...");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user