Use forced run command and "--project-dir" option

This commit is contained in:
Ivan Kravets
2015-05-26 16:41:45 +03:00
parent 6534fdaf04
commit 78db2cda27
2 changed files with 1 additions and 4 deletions

View File

@ -30,8 +30,7 @@ def test_run(platformio_setup, pioproject_dir):
rmtree(join(pioproject_dir, ".pioenvs"))
result = exec_command(
["platformio", "run"],
cwd=pioproject_dir
["platformio", "--force", "run", "--project-dir", pioproject_dir]
)
if result['returncode'] != 0:
pytest.fail(result)

View File

@ -46,8 +46,6 @@ basepython =
usedevelop = True
passenv = *
deps = pytest
setenv =
PLATFORMIO_SETTING_ENABLE_PROMPTS = False
commands =
{envpython} --version
pip install --egg http://sourceforge.net/projects/scons/files/latest/download