blob: 03af8442c03e14c1d38fb2414df5ed917477b026 [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 Maheshwaried822322016-09-22 10:32:05 -050012 IPMI_COMMAND=Dbus
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
Chris Austenb29d2e82016-06-07 12:25:35 -050019
Chris Austenb29d2e82016-06-07 12:25:35 -050020
21[testenv:custom]
22deps = {[testenv]deps}
23setenv = {[testenv]setenv}
24commands =
Chris Austend988e642016-07-06 10:22:38 -050025 {[testenv]commands}
Chris Austen859be602016-07-07 16:46:31 -050026 python -m robot.run --argumentfile {env:ARG_FILE} {posargs}
Chris Austend988e642016-07-06 10:22:38 -050027
Chris Austenb29d2e82016-06-07 12:25:35 -050028
29[testenv:barreleye]
30deps = {[testenv]deps}
31setenv = {[testenv]setenv}
32 OPENBMC_MODEL=./data/Barreleye.py
33commands =
Chris Austend988e642016-07-06 10:22:38 -050034 {[testenv]commands}
causten147f5752016-08-11 16:24:45 -050035 python -m robot.run --argumentfile {env:ARG_FILE} {posargs}
Chris Austend988e642016-07-06 10:22:38 -050036
Chris Austenb29d2e82016-06-07 12:25:35 -050037
38[testenv:palmetto]
39deps = {[testenv]deps}
40setenv = {[testenv]setenv}
41 OPENBMC_MODEL=./data/Palmetto.py
42commands =
Chris Austend988e642016-07-06 10:22:38 -050043 {[testenv]commands}
causten147f5752016-08-11 16:24:45 -050044 python -m robot.run --argumentfile {env:ARG_FILE} {posargs}
Chris Austend988e642016-07-06 10:22:38 -050045
Chris Austenb29d2e82016-06-07 12:25:35 -050046
47[testenv:firestone]
48deps = {[testenv]deps}
49setenv = {[testenv]setenv}
50 OPENBMC_MODEL=./data/Firestone.py
51commands =
Chris Austend988e642016-07-06 10:22:38 -050052 {[testenv]commands}
causten147f5752016-08-11 16:24:45 -050053 python -m robot.run --argumentfile {env:ARG_FILE} {posargs}
Chris Austend988e642016-07-06 10:22:38 -050054
Chris Austenb29d2e82016-06-07 12:25:35 -050055
Chris Austen859be602016-07-07 16:46:31 -050056[testenv:garrison]
Chris Austenb29d2e82016-06-07 12:25:35 -050057deps = {[testenv]deps}
58setenv = {[testenv]setenv}
59 OPENBMC_MODEL=./data/Garrison.py
60commands =
Chris Austend988e642016-07-06 10:22:38 -050061 {[testenv]commands}
causten147f5752016-08-11 16:24:45 -050062 python -m robot.run --argumentfile {env:ARG_FILE} {posargs}
Chris Austen859be602016-07-07 16:46:31 -050063
64
65[testenv:qemu]
66deps = {[testenv]deps}
67setenv = {[testenv]setenv}
68 OPENBMC_MODEL=./data/Palmetto.py
69commands =
70 {[testenv]commands}
causten147f5752016-08-11 16:24:45 -050071 python -m robot.run -e bmcreboot -e chassisboot --argumentfile {env:ARG_FILE} {posargs}
George Keishing3bd8cf22016-09-01 00:04:19 -050072
73
74[testenv:witherspoon]
75deps = {[testenv]deps}
76setenv = {[testenv]setenv}
77 OPENBMC_MODEL=./data/Witherspoon.py
78commands =
79 {[testenv]commands}
80 python -m robot.run -e bmcreboot -e chassisboot --argumentfile {env:ARG_FILE} {posargs}