1[tox]
2skipsdist = True
3
4[testenv]
5passenv = *
6setenv =
7    ARG_FILE={envtmpdir}/argument_file.txt
8    PYTHONWARNINGS="ignore:Unverified HTTPS request"
9    OPENBMC_PASSWORD=0penBmc
10    OPENBMC_USERNAME=root
11    SYSLOG_IP_ADDRESS=127.0.0.1
12    SYSLOG_PORT=514
13whitelist_externals = *
14install_command = pip install -U {opts} {packages}
15deps = -r{toxinidir}/requirements.txt
16commands =
17    -mkdir {envtmpdir}
18    bash {toxinidir}/tools/generate_argumentfile.sh
19
20
21[testenv:custom]
22deps = {[testenv]deps}
23setenv = {[testenv]setenv}
24commands =
25    {[testenv]commands}
26    python -m robot.run --argumentfile {env:ARG_FILE} {posargs}
27
28
29[testenv:barreleye]
30deps     = {[testenv]deps}
31setenv   = {[testenv]setenv}
32    OPENBMC_MODEL=./data/Barreleye.py
33commands =
34    {[testenv]commands}
35    python -m robot.run --argumentfile {env:ARG_FILE} {posargs}
36
37
38[testenv:palmetto]
39deps     = {[testenv]deps}
40setenv   = {[testenv]setenv}
41    OPENBMC_MODEL=./data/Palmetto.py
42commands =
43    {[testenv]commands}
44    python -m robot.run --argumentfile {env:ARG_FILE} {posargs}
45
46
47[testenv:firestone]
48deps     = {[testenv]deps}
49setenv   = {[testenv]setenv}
50    OPENBMC_MODEL=./data/Firestone.py
51commands =
52    {[testenv]commands}
53    python -m robot.run --argumentfile {env:ARG_FILE} {posargs}
54
55
56[testenv:garrison]
57deps     = {[testenv]deps}
58setenv   = {[testenv]setenv}
59    OPENBMC_MODEL=./data/Garrison.py
60commands =
61    {[testenv]commands}
62    python -m robot.run --argumentfile {env:ARG_FILE} {posargs}
63
64
65[testenv:qemu]
66deps     = {[testenv]deps}
67setenv   = {[testenv]setenv}
68    OPENBMC_MODEL=./data/Palmetto.py
69commands =
70    {[testenv]commands}
71    python -m robot.run -e bmcreboot -e chassisboot --argumentfile {env:ARG_FILE} {posargs}
72