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 |
| 12 | whitelist_externals = * |
| 13 | install_command = pip install -U {opts} {packages} |
| 14 | deps = -r{toxinidir}/requirements.txt |
| 15 | commands = |
George Keishing | f0370d7 | 2016-09-12 10:11:40 -0500 | [diff] [blame] | 16 | -mkdir -p {envtmpdir} |
Chris Austen | 859be60 | 2016-07-07 16:46:31 -0500 | [diff] [blame] | 17 | bash {toxinidir}/tools/generate_argumentfile.sh |
Chris Austen | b29d2e8 | 2016-06-07 12:25:35 -0500 | [diff] [blame] | 18 | |
Chris Austen | b29d2e8 | 2016-06-07 12:25:35 -0500 | [diff] [blame] | 19 | |
| 20 | [testenv:custom] |
| 21 | deps = {[testenv]deps} |
| 22 | setenv = {[testenv]setenv} |
| 23 | commands = |
Chris Austen | d988e64 | 2016-07-06 10:22:38 -0500 | [diff] [blame] | 24 | {[testenv]commands} |
Chris Austen | 859be60 | 2016-07-07 16:46:31 -0500 | [diff] [blame] | 25 | python -m robot.run --argumentfile {env:ARG_FILE} {posargs} |
Chris Austen | d988e64 | 2016-07-06 10:22:38 -0500 | [diff] [blame] | 26 | |
Chris Austen | b29d2e8 | 2016-06-07 12:25:35 -0500 | [diff] [blame] | 27 | |
| 28 | [testenv:barreleye] |
| 29 | deps = {[testenv]deps} |
| 30 | setenv = {[testenv]setenv} |
| 31 | OPENBMC_MODEL=./data/Barreleye.py |
| 32 | commands = |
Chris Austen | d988e64 | 2016-07-06 10:22:38 -0500 | [diff] [blame] | 33 | {[testenv]commands} |
causten | 147f575 | 2016-08-11 16:24:45 -0500 | [diff] [blame] | 34 | python -m robot.run --argumentfile {env:ARG_FILE} {posargs} |
Chris Austen | d988e64 | 2016-07-06 10:22:38 -0500 | [diff] [blame] | 35 | |
Chris Austen | b29d2e8 | 2016-06-07 12:25:35 -0500 | [diff] [blame] | 36 | |
| 37 | [testenv:palmetto] |
| 38 | deps = {[testenv]deps} |
| 39 | setenv = {[testenv]setenv} |
| 40 | OPENBMC_MODEL=./data/Palmetto.py |
| 41 | commands = |
Chris Austen | d988e64 | 2016-07-06 10:22:38 -0500 | [diff] [blame] | 42 | {[testenv]commands} |
causten | 147f575 | 2016-08-11 16:24:45 -0500 | [diff] [blame] | 43 | python -m robot.run --argumentfile {env:ARG_FILE} {posargs} |
Chris Austen | d988e64 | 2016-07-06 10:22:38 -0500 | [diff] [blame] | 44 | |
Chris Austen | b29d2e8 | 2016-06-07 12:25:35 -0500 | [diff] [blame] | 45 | |
| 46 | [testenv:firestone] |
| 47 | deps = {[testenv]deps} |
| 48 | setenv = {[testenv]setenv} |
| 49 | OPENBMC_MODEL=./data/Firestone.py |
| 50 | commands = |
Chris Austen | d988e64 | 2016-07-06 10:22:38 -0500 | [diff] [blame] | 51 | {[testenv]commands} |
causten | 147f575 | 2016-08-11 16:24:45 -0500 | [diff] [blame] | 52 | python -m robot.run --argumentfile {env:ARG_FILE} {posargs} |
Chris Austen | d988e64 | 2016-07-06 10:22:38 -0500 | [diff] [blame] | 53 | |
Chris Austen | b29d2e8 | 2016-06-07 12:25:35 -0500 | [diff] [blame] | 54 | |
Chris Austen | 859be60 | 2016-07-07 16:46:31 -0500 | [diff] [blame] | 55 | [testenv:garrison] |
Chris Austen | b29d2e8 | 2016-06-07 12:25:35 -0500 | [diff] [blame] | 56 | deps = {[testenv]deps} |
| 57 | setenv = {[testenv]setenv} |
| 58 | OPENBMC_MODEL=./data/Garrison.py |
| 59 | commands = |
Chris Austen | d988e64 | 2016-07-06 10:22:38 -0500 | [diff] [blame] | 60 | {[testenv]commands} |
causten | 147f575 | 2016-08-11 16:24:45 -0500 | [diff] [blame] | 61 | python -m robot.run --argumentfile {env:ARG_FILE} {posargs} |
Chris Austen | 859be60 | 2016-07-07 16:46:31 -0500 | [diff] [blame] | 62 | |
| 63 | |
| 64 | [testenv:qemu] |
| 65 | deps = {[testenv]deps} |
| 66 | setenv = {[testenv]setenv} |
| 67 | OPENBMC_MODEL=./data/Palmetto.py |
| 68 | commands = |
| 69 | {[testenv]commands} |
causten | 147f575 | 2016-08-11 16:24:45 -0500 | [diff] [blame] | 70 | 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] | 71 | |
| 72 | |
| 73 | [testenv:witherspoon] |
| 74 | deps = {[testenv]deps} |
| 75 | setenv = {[testenv]setenv} |
| 76 | OPENBMC_MODEL=./data/Witherspoon.py |
| 77 | commands = |
| 78 | {[testenv]commands} |
| 79 | python -m robot.run -e bmcreboot -e chassisboot --argumentfile {env:ARG_FILE} {posargs} |