blob: 94fedd5c16cc83c239060015677cc7ba4e04af1a [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
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:barreleye]
deps = {[testenv]deps}
setenv = {[testenv]setenv}
OPENBMC_MODEL=./data/Barreleye.py
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:firestone]
deps = {[testenv]deps}
setenv = {[testenv]setenv}
OPENBMC_MODEL=./data/Firestone.py
commands =
{[testenv]commands}
python -m robot.run --argumentfile {env:ARG_FILE} {posargs}
[testenv:garrison]
deps = {[testenv]deps}
setenv = {[testenv]setenv}
OPENBMC_MODEL=./data/Garrison.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 -e bmcreboot -e chassisboot --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}