blob: a77a7452888c046a8fa0693866d98cc5a427037b [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
Rahul Maheshwari3aeae4e2020-04-03 07:45:50 -050013 IPMI_CIPHER_LEVEL=17
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
Chris Austenb29d2e82016-06-07 12:25:35 -050031[testenv:palmetto]
32deps = {[testenv]deps}
33setenv = {[testenv]setenv}
34 OPENBMC_MODEL=./data/Palmetto.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
Chris Austen859be602016-07-07 16:46:31 -050040[testenv:qemu]
41deps = {[testenv]deps}
42setenv = {[testenv]setenv}
43 OPENBMC_MODEL=./data/Palmetto.py
44commands =
45 {[testenv]commands}
Andrew Geissler115842f2018-03-01 12:57:53 -080046 python -m robot.run --argumentfile {env:ARG_FILE} {posargs}
George Keishing3bd8cf22016-09-01 00:04:19 -050047
48
49[testenv:witherspoon]
50deps = {[testenv]deps}
51setenv = {[testenv]setenv}
52 OPENBMC_MODEL=./data/Witherspoon.py
53commands =
54 {[testenv]commands}
George Keishing2eef6de2016-11-28 23:25:54 -060055 python -m robot.run --argumentfile {env:ARG_FILE} {posargs}
Rahul Maheshwariefb92cd2017-06-11 21:54:39 -050056
57[testenv:romulus]
58deps = {[testenv]deps}
59setenv = {[testenv]setenv}
60 OPENBMC_MODEL=./data/Romulus.py
61commands =
62 {[testenv]commands}
63 python -m robot.run --argumentfile {env:ARG_FILE} {posargs}