blob: a77a7452888c046a8fa0693866d98cc5a427037b [file] [log] [blame]
[tox]
skipsdist = True
[testenv]
passenv = *
setenv =
ARG_FILE={envtmpdir}/argument_file.txt
OPENBMC_PASSWORD=0penBmc
OPENBMC_USERNAME=root
SYSLOG_IP_ADDRESS=127.0.0.1
SYSLOG_PORT=514
IPMI_COMMAND=External
IPMI_CIPHER_LEVEL=17
whitelist_externals = *
install_command = pip install {opts} {packages}
deps = -r{toxinidir}/requirements.txt
commands =
-mkdir -p {envtmpdir}
bash {toxinidir}/tools/generate_argumentfile.sh
cp bin/ssh_pw {envdir}/bin/ssh_pw
[testenv:default]
deps = {[testenv]deps}
setenv = {[testenv]setenv}
commands =
{[testenv]commands}
python -m robot.run --argumentfile {env:ARG_FILE} {posargs}
[testenv:palmetto]
deps = {[testenv]deps}
setenv = {[testenv]setenv}
OPENBMC_MODEL=./data/Palmetto.py
commands =
{[testenv]commands}
python -m robot.run --argumentfile {env:ARG_FILE} {posargs}
[testenv:qemu]
deps = {[testenv]deps}
setenv = {[testenv]setenv}
OPENBMC_MODEL=./data/Palmetto.py
commands =
{[testenv]commands}
python -m robot.run --argumentfile {env:ARG_FILE} {posargs}
[testenv:witherspoon]
deps = {[testenv]deps}
setenv = {[testenv]setenv}
OPENBMC_MODEL=./data/Witherspoon.py
commands =
{[testenv]commands}
python -m robot.run --argumentfile {env:ARG_FILE} {posargs}
[testenv:romulus]
deps = {[testenv]deps}
setenv = {[testenv]setenv}
OPENBMC_MODEL=./data/Romulus.py
commands =
{[testenv]commands}
python -m robot.run --argumentfile {env:ARG_FILE} {posargs}