blob: 4f307438b7749230c324fbcb1801a85f4a072b68 [file] [log] [blame]
Chris Austenb29d2e82016-06-07 12:25:35 -05001[tox]
2skipsdist = True
3
4[testenv]
5passenv = *
6setenv =
Chris Austend988e642016-07-06 10:22:38 -05007 ARG_FILE={envtmpdir}/argument_file.txt
Chris Austenb29d2e82016-06-07 12:25:35 -05008 OPENBMC_PASSWORD=0penBmc
9 OPENBMC_USERNAME=root
10 SYSLOG_IP_ADDRESS=127.0.0.1
11 SYSLOG_PORT=514
Rahul Maheshwarica2d6872017-03-17 01:48:24 -050012 IPMI_COMMAND=External
George Keishing39967eb2018-04-30 11:36:23 -050013 IPMI_CIPHER_LEVEL=3
Chris Austenb29d2e82016-06-07 12:25:35 -050014whitelist_externals = *
George Keishingc7c2fb72016-10-18 10:22:22 -050015install_command = pip install {opts} {packages}
Chris Austenb29d2e82016-06-07 12:25:35 -050016deps = -r{toxinidir}/requirements.txt
17commands =
George Keishingf0370d72016-09-12 10:11:40 -050018 -mkdir -p {envtmpdir}
Chris Austen859be602016-07-07 16:46:31 -050019 bash {toxinidir}/tools/generate_argumentfile.sh
David Shawba2d2c22017-01-23 16:56:38 -060020 cp bin/ssh_pw {envdir}/bin/ssh_pw
Chris Austenb29d2e82016-06-07 12:25:35 -050021
Chris Austenb29d2e82016-06-07 12:25:35 -050022
George Keishing88acd8d2017-05-22 12:56:16 -050023[testenv:default]
Chris Austenb29d2e82016-06-07 12:25:35 -050024deps = {[testenv]deps}
25setenv = {[testenv]setenv}
26commands =
Chris Austend988e642016-07-06 10:22:38 -050027 {[testenv]commands}
Chris Austen859be602016-07-07 16:46:31 -050028 python -m robot.run --argumentfile {env:ARG_FILE} {posargs}
Chris Austend988e642016-07-06 10:22:38 -050029
Chris Austenb29d2e82016-06-07 12:25:35 -050030
31[testenv:barreleye]
32deps = {[testenv]deps}
33setenv = {[testenv]setenv}
34 OPENBMC_MODEL=./data/Barreleye.py
35commands =
Chris Austend988e642016-07-06 10:22:38 -050036 {[testenv]commands}
causten147f5752016-08-11 16:24:45 -050037 python -m robot.run --argumentfile {env:ARG_FILE} {posargs}
Chris Austend988e642016-07-06 10:22:38 -050038
Chris Austenb29d2e82016-06-07 12:25:35 -050039
40[testenv:palmetto]
41deps = {[testenv]deps}
42setenv = {[testenv]setenv}
43 OPENBMC_MODEL=./data/Palmetto.py
44commands =
Chris Austend988e642016-07-06 10:22:38 -050045 {[testenv]commands}
causten147f5752016-08-11 16:24:45 -050046 python -m robot.run --argumentfile {env:ARG_FILE} {posargs}
Chris Austend988e642016-07-06 10:22:38 -050047
Chris Austenb29d2e82016-06-07 12:25:35 -050048
49[testenv:firestone]
50deps = {[testenv]deps}
51setenv = {[testenv]setenv}
52 OPENBMC_MODEL=./data/Firestone.py
53commands =
Chris Austend988e642016-07-06 10:22:38 -050054 {[testenv]commands}
causten147f5752016-08-11 16:24:45 -050055 python -m robot.run --argumentfile {env:ARG_FILE} {posargs}
Chris Austend988e642016-07-06 10:22:38 -050056
Chris Austenb29d2e82016-06-07 12:25:35 -050057
Chris Austen859be602016-07-07 16:46:31 -050058[testenv:garrison]
Chris Austenb29d2e82016-06-07 12:25:35 -050059deps = {[testenv]deps}
60setenv = {[testenv]setenv}
61 OPENBMC_MODEL=./data/Garrison.py
62commands =
Chris Austend988e642016-07-06 10:22:38 -050063 {[testenv]commands}
causten147f5752016-08-11 16:24:45 -050064 python -m robot.run --argumentfile {env:ARG_FILE} {posargs}
Chris Austen859be602016-07-07 16:46:31 -050065
66
67[testenv:qemu]
68deps = {[testenv]deps}
69setenv = {[testenv]setenv}
70 OPENBMC_MODEL=./data/Palmetto.py
71commands =
72 {[testenv]commands}
Andrew Geissler115842f2018-03-01 12:57:53 -080073 python -m robot.run --argumentfile {env:ARG_FILE} {posargs}
George Keishing3bd8cf22016-09-01 00:04:19 -050074
75
76[testenv:witherspoon]
77deps = {[testenv]deps}
78setenv = {[testenv]setenv}
79 OPENBMC_MODEL=./data/Witherspoon.py
80commands =
81 {[testenv]commands}
George Keishing2eef6de2016-11-28 23:25:54 -060082 python -m robot.run --argumentfile {env:ARG_FILE} {posargs}
Rahul Maheshwariefb92cd2017-06-11 21:54:39 -050083
84[testenv:romulus]
85deps = {[testenv]deps}
86setenv = {[testenv]setenv}
87 OPENBMC_MODEL=./data/Romulus.py
88commands =
89 {[testenv]commands}
90 python -m robot.run --argumentfile {env:ARG_FILE} {posargs}