Skip to content

Commit e4c3537

Browse files
authored
Merge pull request #473 from gabsuren/mdns_fix_kconfig
fix(mdns): fixed CI issues for host and afl tests
2 parents 7451ec2 + 4be5efc commit e4c3537

File tree

3 files changed

+13
-4
lines changed

3 files changed

+13
-4
lines changed

components/mdns/tests/test_afl_fuzz_host/Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,9 @@ CFLAGS=-g -Wno-unused-value -Wno-missing-declarations -Wno-pointer-bool-conversi
2626
-I$(COMPONENTS_DIR)/heap/include \
2727
-I$(COMPONENTS_DIR)/log/include \
2828
-I$(COMPONENTS_DIR)/lwip/lwip/src/include \
29+
-I$(COMPONENTS_DIR)/linux/include \
2930
-I$(COMPONENTS_DIR)/lwip/port/esp32/include \
3031
-I$(COMPONENTS_DIR)/lwip/lwip/src/include/lwip/apps \
31-
-I$(COMPONENTS_DIR)/newlib/platform_include \
32-
-I$(COMPONENTS_DIR)/soc/include \
3332
-I$(COMPONENTS_DIR)/soc/include \
3433
-I$(COMPONENTS_DIR)/soc/esp32/include \
3534
-I$(COMPONENTS_DIR)/soc/src/esp32/include \

components/mdns/tests/test_apps/main/Kconfig.projbuild

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,17 @@ menu "Example Configuration"
2424
help
2525
If enabled, a portion of MAC address is added to the hostname, this is used
2626
for evaluation of tests in CI
27+
config MDNS_ADD_MAC_TO_HOSTNAME
28+
bool "Add mac suffix to hostname"
29+
default n
30+
help
31+
If enabled, a portion of MAC address is added to the hostname, this is used
32+
for evaluation of tests in CI
33+
config MDNS_PUBLISH_DELEGATE_HOST
34+
bool "Publish a delegated host"
35+
help
36+
Enable publishing a delegated host other than ESP32.
37+
The example will also add a mock service for this host.
38+
2739

2840
endmenu

components/mdns/tests/test_apps/sdkconfig.ci

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
CONFIG_IDF_TARGET="esp32"
2-
CONFIG_MDNS_RESOLVE_TEST_SERVICES=y
32
CONFIG_MDNS_ADD_MAC_TO_HOSTNAME=y
43
CONFIG_MDNS_PUBLISH_DELEGATE_HOST=y
54
CONFIG_LWIP_DNS_SUPPORT_MDNS_QUERIES=y
@@ -12,4 +11,3 @@ CONFIG_EXAMPLE_ETH_MDIO_GPIO=18
1211
CONFIG_EXAMPLE_ETH_PHY_RST_GPIO=5
1312
CONFIG_EXAMPLE_ETH_PHY_ADDR=1
1413
CONFIG_EXAMPLE_CONNECT_IPV6=y
15-
CONFIG_MDNS_BUTTON_GPIO=32

0 commit comments

Comments
 (0)