Chris Austen | b29d2e8 | 2016-06-07 12:25:35 -0500 | [diff] [blame] | 1 | [tox] |
| 2 | skipsdist = True |
| 3 | |
| 4 | [testenv] |
| 5 | passenv = * |
| 6 | setenv = |
Chris Austen | d988e64 | 2016-07-06 10:22:38 -0500 | [diff] [blame] | 7 | ARG_FILE={envtmpdir}/argument_file.txt |
Chris Austen | b29d2e8 | 2016-06-07 12:25:35 -0500 | [diff] [blame] | 8 | OPENBMC_PASSWORD=0penBmc |
| 9 | OPENBMC_USERNAME=root |
| 10 | SYSLOG_IP_ADDRESS=127.0.0.1 |
| 11 | SYSLOG_PORT=514 |
Rahul Maheshwari | ed82232 | 2016-09-22 10:32:05 -0500 | [diff] [blame] | 12 | IPMI_COMMAND=Dbus |
Chris Austen | b29d2e8 | 2016-06-07 12:25:35 -0500 | [diff] [blame] | 13 | whitelist_externals = * |
| 14 | install_command = pip install -U {opts} {packages} |
| 15 | deps = -r{toxinidir}/requirements.txt |
| 16 | commands = |
George Keishing | f0370d7 | 2016-09-12 10:11:40 -0500 | [diff] [blame] | 17 | -mkdir -p {envtmpdir} |
Chris Austen | 859be60 | 2016-07-07 16:46:31 -0500 | [diff] [blame] | 18 | bash {toxinidir}/tools/generate_argumentfile.sh |
Chris Austen | b29d2e8 | 2016-06-07 12:25:35 -0500 | [diff] [blame] | 19 | |
Chris Austen | b29d2e8 | 2016-06-07 12:25:35 -0500 | [diff] [blame] | 20 | |
| 21 | [testenv:custom] |
| 22 | deps = {[testenv]deps} |
| 23 | setenv = {[testenv]setenv} |
| 24 | commands = |
Chris Austen | d988e64 | 2016-07-06 10:22:38 -0500 | [diff] [blame] | 25 | {[testenv]commands} |
Chris Austen | 859be60 | 2016-07-07 16:46:31 -0500 | [diff] [blame] | 26 | python -m robot.run --argumentfile {env:ARG_FILE} {posargs} |
Chris Austen | d988e64 | 2016-07-06 10:22:38 -0500 | [diff] [blame] | 27 | |
Chris Austen | b29d2e8 | 2016-06-07 12:25:35 -0500 | [diff] [blame] | 28 | |
| 29 | [testenv:barreleye] |
| 30 | deps = {[testenv]deps} |
| 31 | setenv = {[testenv]setenv} |
| 32 | OPENBMC_MODEL=./data/Barreleye.py |
| 33 | commands = |
Chris Austen | d988e64 | 2016-07-06 10:22:38 -0500 | [diff] [blame] | 34 | {[testenv]commands} |
causten | 147f575 | 2016-08-11 16:24:45 -0500 | [diff] [blame] | 35 | python -m robot.run --argumentfile {env:ARG_FILE} {posargs} |
Chris Austen | d988e64 | 2016-07-06 10:22:38 -0500 | [diff] [blame] | 36 | |
Chris Austen | b29d2e8 | 2016-06-07 12:25:35 -0500 | [diff] [blame] | 37 | |
| 38 | [testenv:palmetto] |
| 39 | deps = {[testenv]deps} |
| 40 | setenv = {[testenv]setenv} |
| 41 | OPENBMC_MODEL=./data/Palmetto.py |
| 42 | commands = |
Chris Austen | d988e64 | 2016-07-06 10:22:38 -0500 | [diff] [blame] | 43 | {[testenv]commands} |
causten | 147f575 | 2016-08-11 16:24:45 -0500 | [diff] [blame] | 44 | python -m robot.run --argumentfile {env:ARG_FILE} {posargs} |
Chris Austen | d988e64 | 2016-07-06 10:22:38 -0500 | [diff] [blame] | 45 | |
Chris Austen | b29d2e8 | 2016-06-07 12:25:35 -0500 | [diff] [blame] | 46 | |
| 47 | [testenv:firestone] |
| 48 | deps = {[testenv]deps} |
| 49 | setenv = {[testenv]setenv} |
| 50 | OPENBMC_MODEL=./data/Firestone.py |
| 51 | commands = |
Chris Austen | d988e64 | 2016-07-06 10:22:38 -0500 | [diff] [blame] | 52 | {[testenv]commands} |
causten | 147f575 | 2016-08-11 16:24:45 -0500 | [diff] [blame] | 53 | python -m robot.run --argumentfile {env:ARG_FILE} {posargs} |
Chris Austen | d988e64 | 2016-07-06 10:22:38 -0500 | [diff] [blame] | 54 | |
Chris Austen | b29d2e8 | 2016-06-07 12:25:35 -0500 | [diff] [blame] | 55 | |
Chris Austen | 859be60 | 2016-07-07 16:46:31 -0500 | [diff] [blame] | 56 | [testenv:garrison] |
Chris Austen | b29d2e8 | 2016-06-07 12:25:35 -0500 | [diff] [blame] | 57 | deps = {[testenv]deps} |
| 58 | setenv = {[testenv]setenv} |
| 59 | OPENBMC_MODEL=./data/Garrison.py |
| 60 | commands = |
Chris Austen | d988e64 | 2016-07-06 10:22:38 -0500 | [diff] [blame] | 61 | {[testenv]commands} |
causten | 147f575 | 2016-08-11 16:24:45 -0500 | [diff] [blame] | 62 | python -m robot.run --argumentfile {env:ARG_FILE} {posargs} |
Chris Austen | 859be60 | 2016-07-07 16:46:31 -0500 | [diff] [blame] | 63 | |
| 64 | |
| 65 | [testenv:qemu] |
| 66 | deps = {[testenv]deps} |
| 67 | setenv = {[testenv]setenv} |
| 68 | OPENBMC_MODEL=./data/Palmetto.py |
| 69 | commands = |
| 70 | {[testenv]commands} |
causten | 147f575 | 2016-08-11 16:24:45 -0500 | [diff] [blame] | 71 | python -m robot.run -e bmcreboot -e chassisboot --argumentfile {env:ARG_FILE} {posargs} |
George Keishing | 3bd8cf2 | 2016-09-01 00:04:19 -0500 | [diff] [blame] | 72 | |
| 73 | |
| 74 | [testenv:witherspoon] |
| 75 | deps = {[testenv]deps} |
| 76 | setenv = {[testenv]setenv} |
| 77 | OPENBMC_MODEL=./data/Witherspoon.py |
| 78 | commands = |
| 79 | {[testenv]commands} |
| 80 | python -m robot.run -e bmcreboot -e chassisboot --argumentfile {env:ARG_FILE} {posargs} |