blob: 67b44b97be97a1d42044e351385ce1b3cf3198f9 [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
Chris Austenb29d2e82016-06-07 12:25:35 -050013whitelist_externals = *
George Keishingc7c2fb72016-10-18 10:22:22 -050014install_command = pip install {opts} {packages}
Chris Austenb29d2e82016-06-07 12:25:35 -050015deps = -r{toxinidir}/requirements.txt
16commands =
George Keishingf0370d72016-09-12 10:11:40 -050017 -mkdir -p {envtmpdir}
Chris Austen859be602016-07-07 16:46:31 -050018 bash {toxinidir}/tools/generate_argumentfile.sh
David Shawba2d2c22017-01-23 16:56:38 -060019 cp bin/ssh_pw {envdir}/bin/ssh_pw
Chris Austenb29d2e82016-06-07 12:25:35 -050020
Chris Austenb29d2e82016-06-07 12:25:35 -050021
George Keishing88acd8d2017-05-22 12:56:16 -050022[testenv:default]
Chris Austenb29d2e82016-06-07 12:25:35 -050023deps = {[testenv]deps}
24setenv = {[testenv]setenv}
25commands =
Chris Austend988e642016-07-06 10:22:38 -050026 {[testenv]commands}
Chris Austen859be602016-07-07 16:46:31 -050027 python -m robot.run --argumentfile {env:ARG_FILE} {posargs}
Chris Austend988e642016-07-06 10:22:38 -050028
Chris Austenb29d2e82016-06-07 12:25:35 -050029
30[testenv:barreleye]
31deps = {[testenv]deps}
32setenv = {[testenv]setenv}
33 OPENBMC_MODEL=./data/Barreleye.py
34commands =
Chris Austend988e642016-07-06 10:22:38 -050035 {[testenv]commands}
causten147f5752016-08-11 16:24:45 -050036 python -m robot.run --argumentfile {env:ARG_FILE} {posargs}
Chris Austend988e642016-07-06 10:22:38 -050037
Chris Austenb29d2e82016-06-07 12:25:35 -050038
39[testenv:palmetto]
40deps = {[testenv]deps}
41setenv = {[testenv]setenv}
42 OPENBMC_MODEL=./data/Palmetto.py
43commands =
Chris Austend988e642016-07-06 10:22:38 -050044 {[testenv]commands}
causten147f5752016-08-11 16:24:45 -050045 python -m robot.run --argumentfile {env:ARG_FILE} {posargs}
Chris Austend988e642016-07-06 10:22:38 -050046
Chris Austenb29d2e82016-06-07 12:25:35 -050047
48[testenv:firestone]
49deps = {[testenv]deps}
50setenv = {[testenv]setenv}
51 OPENBMC_MODEL=./data/Firestone.py
52commands =
Chris Austend988e642016-07-06 10:22:38 -050053 {[testenv]commands}
causten147f5752016-08-11 16:24:45 -050054 python -m robot.run --argumentfile {env:ARG_FILE} {posargs}
Chris Austend988e642016-07-06 10:22:38 -050055
Chris Austenb29d2e82016-06-07 12:25:35 -050056
Chris Austen859be602016-07-07 16:46:31 -050057[testenv:garrison]
Chris Austenb29d2e82016-06-07 12:25:35 -050058deps = {[testenv]deps}
59setenv = {[testenv]setenv}
60 OPENBMC_MODEL=./data/Garrison.py
61commands =
Chris Austend988e642016-07-06 10:22:38 -050062 {[testenv]commands}
causten147f5752016-08-11 16:24:45 -050063 python -m robot.run --argumentfile {env:ARG_FILE} {posargs}
Chris Austen859be602016-07-07 16:46:31 -050064
65
66[testenv:qemu]
67deps = {[testenv]deps}
68setenv = {[testenv]setenv}
69 OPENBMC_MODEL=./data/Palmetto.py
70commands =
71 {[testenv]commands}
Andrew Geissler115842f2018-03-01 12:57:53 -080072 python -m robot.run --argumentfile {env:ARG_FILE} {posargs}
George Keishing3bd8cf22016-09-01 00:04:19 -050073
74
75[testenv:witherspoon]
76deps = {[testenv]deps}
77setenv = {[testenv]setenv}
78 OPENBMC_MODEL=./data/Witherspoon.py
79commands =
80 {[testenv]commands}
George Keishing2eef6de2016-11-28 23:25:54 -060081 python -m robot.run --argumentfile {env:ARG_FILE} {posargs}
Rahul Maheshwariefb92cd2017-06-11 21:54:39 -050082
83[testenv:romulus]
84deps = {[testenv]deps}
85setenv = {[testenv]setenv}
86 OPENBMC_MODEL=./data/Romulus.py
87commands =
88 {[testenv]commands}
89 python -m robot.run --argumentfile {env:ARG_FILE} {posargs}