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 | ca2d687 | 2017-03-17 01:48:24 -0500 | [diff] [blame] | 12 | IPMI_COMMAND=External |
Chris Austen | b29d2e8 | 2016-06-07 12:25:35 -0500 | [diff] [blame] | 13 | whitelist_externals = * |
George Keishing | c7c2fb7 | 2016-10-18 10:22:22 -0500 | [diff] [blame] | 14 | install_command = pip install {opts} {packages} |
Chris Austen | b29d2e8 | 2016-06-07 12:25:35 -0500 | [diff] [blame] | 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 |
David Shaw | ba2d2c2 | 2017-01-23 16:56:38 -0600 | [diff] [blame] | 19 | cp bin/ssh_pw {envdir}/bin/ssh_pw |
Chris Austen | b29d2e8 | 2016-06-07 12:25:35 -0500 | [diff] [blame] | 20 | |
Chris Austen | b29d2e8 | 2016-06-07 12:25:35 -0500 | [diff] [blame] | 21 | |
George Keishing | 88acd8d | 2017-05-22 12:56:16 -0500 | [diff] [blame] | 22 | [testenv:default] |
Chris Austen | b29d2e8 | 2016-06-07 12:25:35 -0500 | [diff] [blame] | 23 | deps = {[testenv]deps} |
| 24 | setenv = {[testenv]setenv} |
| 25 | commands = |
Chris Austen | d988e64 | 2016-07-06 10:22:38 -0500 | [diff] [blame] | 26 | {[testenv]commands} |
Chris Austen | 859be60 | 2016-07-07 16:46:31 -0500 | [diff] [blame] | 27 | python -m robot.run --argumentfile {env:ARG_FILE} {posargs} |
Chris Austen | d988e64 | 2016-07-06 10:22:38 -0500 | [diff] [blame] | 28 | |
Chris Austen | b29d2e8 | 2016-06-07 12:25:35 -0500 | [diff] [blame] | 29 | |
| 30 | [testenv:barreleye] |
| 31 | deps = {[testenv]deps} |
| 32 | setenv = {[testenv]setenv} |
| 33 | OPENBMC_MODEL=./data/Barreleye.py |
| 34 | commands = |
Chris Austen | d988e64 | 2016-07-06 10:22:38 -0500 | [diff] [blame] | 35 | {[testenv]commands} |
causten | 147f575 | 2016-08-11 16:24:45 -0500 | [diff] [blame] | 36 | python -m robot.run --argumentfile {env:ARG_FILE} {posargs} |
Chris Austen | d988e64 | 2016-07-06 10:22:38 -0500 | [diff] [blame] | 37 | |
Chris Austen | b29d2e8 | 2016-06-07 12:25:35 -0500 | [diff] [blame] | 38 | |
| 39 | [testenv:palmetto] |
| 40 | deps = {[testenv]deps} |
| 41 | setenv = {[testenv]setenv} |
| 42 | OPENBMC_MODEL=./data/Palmetto.py |
| 43 | commands = |
Chris Austen | d988e64 | 2016-07-06 10:22:38 -0500 | [diff] [blame] | 44 | {[testenv]commands} |
causten | 147f575 | 2016-08-11 16:24:45 -0500 | [diff] [blame] | 45 | python -m robot.run --argumentfile {env:ARG_FILE} {posargs} |
Chris Austen | d988e64 | 2016-07-06 10:22:38 -0500 | [diff] [blame] | 46 | |
Chris Austen | b29d2e8 | 2016-06-07 12:25:35 -0500 | [diff] [blame] | 47 | |
| 48 | [testenv:firestone] |
| 49 | deps = {[testenv]deps} |
| 50 | setenv = {[testenv]setenv} |
| 51 | OPENBMC_MODEL=./data/Firestone.py |
| 52 | commands = |
Chris Austen | d988e64 | 2016-07-06 10:22:38 -0500 | [diff] [blame] | 53 | {[testenv]commands} |
causten | 147f575 | 2016-08-11 16:24:45 -0500 | [diff] [blame] | 54 | python -m robot.run --argumentfile {env:ARG_FILE} {posargs} |
Chris Austen | d988e64 | 2016-07-06 10:22:38 -0500 | [diff] [blame] | 55 | |
Chris Austen | b29d2e8 | 2016-06-07 12:25:35 -0500 | [diff] [blame] | 56 | |
Chris Austen | 859be60 | 2016-07-07 16:46:31 -0500 | [diff] [blame] | 57 | [testenv:garrison] |
Chris Austen | b29d2e8 | 2016-06-07 12:25:35 -0500 | [diff] [blame] | 58 | deps = {[testenv]deps} |
| 59 | setenv = {[testenv]setenv} |
| 60 | OPENBMC_MODEL=./data/Garrison.py |
| 61 | commands = |
Chris Austen | d988e64 | 2016-07-06 10:22:38 -0500 | [diff] [blame] | 62 | {[testenv]commands} |
causten | 147f575 | 2016-08-11 16:24:45 -0500 | [diff] [blame] | 63 | python -m robot.run --argumentfile {env:ARG_FILE} {posargs} |
Chris Austen | 859be60 | 2016-07-07 16:46:31 -0500 | [diff] [blame] | 64 | |
| 65 | |
| 66 | [testenv:qemu] |
| 67 | deps = {[testenv]deps} |
| 68 | setenv = {[testenv]setenv} |
| 69 | OPENBMC_MODEL=./data/Palmetto.py |
| 70 | commands = |
| 71 | {[testenv]commands} |
causten | 147f575 | 2016-08-11 16:24:45 -0500 | [diff] [blame] | 72 | 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] | 73 | |
| 74 | |
| 75 | [testenv:witherspoon] |
| 76 | deps = {[testenv]deps} |
| 77 | setenv = {[testenv]setenv} |
| 78 | OPENBMC_MODEL=./data/Witherspoon.py |
| 79 | commands = |
| 80 | {[testenv]commands} |
George Keishing | 2eef6de | 2016-11-28 23:25:54 -0600 | [diff] [blame] | 81 | python -m robot.run --argumentfile {env:ARG_FILE} {posargs} |
Rahul Maheshwari | efb92cd | 2017-06-11 21:54:39 -0500 | [diff] [blame] | 82 | |
| 83 | [testenv:romulus] |
| 84 | deps = {[testenv]deps} |
| 85 | setenv = {[testenv]setenv} |
| 86 | OPENBMC_MODEL=./data/Romulus.py |
| 87 | commands = |
| 88 | {[testenv]commands} |
| 89 | python -m robot.run --argumentfile {env:ARG_FILE} {posargs} |