Temporary fix for unreleased dev-platforms with broken env name

This commit is contained in:
Ivan Kravets
2023-03-20 18:56:39 -06:00
parent 4b446b0d72
commit 0bba598c61
2 changed files with 3 additions and 1 deletions

View File

@ -69,6 +69,8 @@ def test_run(pioproject_dir):
fs.rmtree(build_dir)
env_names = config.envs()
# temporary fix for unreleased dev-platforms with broken env name
env_names = [name for name in env_names if " " not in name]
result = proc.exec_command(
["platformio", "run", "-e", random.choice(env_names)]
)