1b29d2e84SChris Austen[tox]
2b29d2e84SChris Austenskipsdist = True
3b29d2e84SChris Austen
4b29d2e84SChris Austen[testenv]
5b29d2e84SChris Austenpassenv = *
6b29d2e84SChris Austensetenv =
7d988e649SChris Austen    ARG_FILE={envtmpdir}/argument_file.txt
8b29d2e84SChris Austen    OPENBMC_PASSWORD=0penBmc
9b29d2e84SChris Austen    OPENBMC_USERNAME=root
10b29d2e84SChris Austen    SYSLOG_IP_ADDRESS=127.0.0.1
11b29d2e84SChris Austen    SYSLOG_PORT=514
12*ed82232bSRahul Maheshwari    IPMI_COMMAND=Dbus
13b29d2e84SChris Austenwhitelist_externals = *
14b29d2e84SChris Austeninstall_command = pip install -U {opts} {packages}
15b29d2e84SChris Austendeps = -r{toxinidir}/requirements.txt
16b29d2e84SChris Austencommands =
17f0370d75SGeorge Keishing    -mkdir -p {envtmpdir}
18859be60cSChris Austen    bash {toxinidir}/tools/generate_argumentfile.sh
19b29d2e84SChris Austen
20b29d2e84SChris Austen
21b29d2e84SChris Austen[testenv:custom]
22b29d2e84SChris Austendeps = {[testenv]deps}
23b29d2e84SChris Austensetenv = {[testenv]setenv}
24b29d2e84SChris Austencommands =
25d988e649SChris Austen    {[testenv]commands}
26859be60cSChris Austen    python -m robot.run --argumentfile {env:ARG_FILE} {posargs}
27d988e649SChris Austen
28b29d2e84SChris Austen
29b29d2e84SChris Austen[testenv:barreleye]
30b29d2e84SChris Austendeps     = {[testenv]deps}
31b29d2e84SChris Austensetenv   = {[testenv]setenv}
32b29d2e84SChris Austen    OPENBMC_MODEL=./data/Barreleye.py
33b29d2e84SChris Austencommands =
34d988e649SChris Austen    {[testenv]commands}
35147f5757Scausten    python -m robot.run --argumentfile {env:ARG_FILE} {posargs}
36d988e649SChris Austen
37b29d2e84SChris Austen
38b29d2e84SChris Austen[testenv:palmetto]
39b29d2e84SChris Austendeps     = {[testenv]deps}
40b29d2e84SChris Austensetenv   = {[testenv]setenv}
41b29d2e84SChris Austen    OPENBMC_MODEL=./data/Palmetto.py
42b29d2e84SChris Austencommands =
43d988e649SChris Austen    {[testenv]commands}
44147f5757Scausten    python -m robot.run --argumentfile {env:ARG_FILE} {posargs}
45d988e649SChris Austen
46b29d2e84SChris Austen
47b29d2e84SChris Austen[testenv:firestone]
48b29d2e84SChris Austendeps     = {[testenv]deps}
49b29d2e84SChris Austensetenv   = {[testenv]setenv}
50b29d2e84SChris Austen    OPENBMC_MODEL=./data/Firestone.py
51b29d2e84SChris Austencommands =
52d988e649SChris Austen    {[testenv]commands}
53147f5757Scausten    python -m robot.run --argumentfile {env:ARG_FILE} {posargs}
54d988e649SChris Austen
55b29d2e84SChris Austen
56859be60cSChris Austen[testenv:garrison]
57b29d2e84SChris Austendeps     = {[testenv]deps}
58b29d2e84SChris Austensetenv   = {[testenv]setenv}
59b29d2e84SChris Austen    OPENBMC_MODEL=./data/Garrison.py
60b29d2e84SChris Austencommands =
61d988e649SChris Austen    {[testenv]commands}
62147f5757Scausten    python -m robot.run --argumentfile {env:ARG_FILE} {posargs}
63859be60cSChris Austen
64859be60cSChris Austen
65859be60cSChris Austen[testenv:qemu]
66859be60cSChris Austendeps     = {[testenv]deps}
67859be60cSChris Austensetenv   = {[testenv]setenv}
68859be60cSChris Austen    OPENBMC_MODEL=./data/Palmetto.py
69859be60cSChris Austencommands =
70859be60cSChris Austen    {[testenv]commands}
71147f5757Scausten    python -m robot.run -e bmcreboot -e chassisboot --argumentfile {env:ARG_FILE} {posargs}
723bd8cf2eSGeorge Keishing
733bd8cf2eSGeorge Keishing
743bd8cf2eSGeorge Keishing[testenv:witherspoon]
753bd8cf2eSGeorge Keishingdeps     = {[testenv]deps}
763bd8cf2eSGeorge Keishingsetenv   = {[testenv]setenv}
773bd8cf2eSGeorge Keishing    OPENBMC_MODEL=./data/Witherspoon.py
783bd8cf2eSGeorge Keishingcommands =
793bd8cf2eSGeorge Keishing    {[testenv]commands}
803bd8cf2eSGeorge Keishing    python -m robot.run -e bmcreboot -e chassisboot --argumentfile {env:ARG_FILE} {posargs}
81