mdns tests: execute test services only when running example in ci

Test services may cause confussion (and did cause some GitHub/forum issues). This update runs test services only when example executed in ci. Also host name is a simple config entry if executed outside of ci.


* Original commit: espressif/esp-idf@74cc7a065f
This commit is contained in:
David Cermak
2019-01-25 20:24:30 +01:00
committed by suren-gabrielyan-espressif
parent 2ac83d0f27
commit 8d08e5ed95
5 changed files with 47 additions and 26 deletions

View File

@ -28,11 +28,18 @@ menu "Example Configuration"
config RESOLVE_TEST_SERVICES
bool "Resolve test services"
default y
default n
help
Enable resolving test services on startup.
These services are advertized and evaluated in automated tests.
When executed locally, these will not be resolved and warnings appear in the log.
Please set to false to disable initial querying to avoid warnings.
config MDNS_ADD_MAC_TO_HOSTNAME
bool "Add mac suffix to hostname"
default n
help
If enabled, a portion of MAC address is added to the hostname, this is used
for evaluation of tests in CI
endmenu