1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-25 20:02:37 +03:00
esp8266/tests/device/test_env.cfg.template
Ivan Grokhotkov 8bd26f2ded add support for environment variables in device tests
Previously device tests included information such as access point SSID/password at compile time. This made it difficult to compile test binaries once and then send them to multiple test runners for execution.

This change adds a command to the test library to set environment variable on the target device: “setenv key value”. C library setenv/getenv facility is used to store variables.

Test runner, tests, and makefile are updated to use this functionality.
2018-04-11 11:19:21 +08:00

10 lines
131 B
Plaintext

[global]
STA_SSID = my_ssid
STA_PASS = my_password
AP_SSID = test_wifi_ap
AP_PASS = test_wifi_ap_pass
SERVER_IP = 192.168.1.100