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 |
George Keishing | 39967eb | 2018-04-30 11:36:23 -0500 | [diff] [blame] | 13 | IPMI_CIPHER_LEVEL=3 |
Chris Austen | b29d2e8 | 2016-06-07 12:25:35 -0500 | [diff] [blame] | 14 | whitelist_externals = * |
George Keishing | c7c2fb7 | 2016-10-18 10:22:22 -0500 | [diff] [blame] | 15 | install_command = pip install {opts} {packages} |
Chris Austen | b29d2e8 | 2016-06-07 12:25:35 -0500 | [diff] [blame] | 16 | deps = -r{toxinidir}/requirements.txt |
| 17 | commands = |
George Keishing | f0370d7 | 2016-09-12 10:11:40 -0500 | [diff] [blame] | 18 | -mkdir -p {envtmpdir} |
Chris Austen | 859be60 | 2016-07-07 16:46:31 -0500 | [diff] [blame] | 19 | bash {toxinidir}/tools/generate_argumentfile.sh |
David Shaw | ba2d2c2 | 2017-01-23 16:56:38 -0600 | [diff] [blame] | 20 | cp bin/ssh_pw {envdir}/bin/ssh_pw |
Chris Austen | b29d2e8 | 2016-06-07 12:25:35 -0500 | [diff] [blame] | 21 | |
Chris Austen | b29d2e8 | 2016-06-07 12:25:35 -0500 | [diff] [blame] | 22 | |
George Keishing | 88acd8d | 2017-05-22 12:56:16 -0500 | [diff] [blame] | 23 | [testenv:default] |
Chris Austen | b29d2e8 | 2016-06-07 12:25:35 -0500 | [diff] [blame] | 24 | deps = {[testenv]deps} |
| 25 | setenv = {[testenv]setenv} |
| 26 | commands = |
Chris Austen | d988e64 | 2016-07-06 10:22:38 -0500 | [diff] [blame] | 27 | {[testenv]commands} |
Chris Austen | 859be60 | 2016-07-07 16:46:31 -0500 | [diff] [blame] | 28 | python -m robot.run --argumentfile {env:ARG_FILE} {posargs} |
Chris Austen | d988e64 | 2016-07-06 10:22:38 -0500 | [diff] [blame] | 29 | |
Chris Austen | b29d2e8 | 2016-06-07 12:25:35 -0500 | [diff] [blame] | 30 | |
Chris Austen | b29d2e8 | 2016-06-07 12:25:35 -0500 | [diff] [blame] | 31 | [testenv:palmetto] |
| 32 | deps = {[testenv]deps} |
| 33 | setenv = {[testenv]setenv} |
| 34 | OPENBMC_MODEL=./data/Palmetto.py |
| 35 | commands = |
Chris Austen | d988e64 | 2016-07-06 10:22:38 -0500 | [diff] [blame] | 36 | {[testenv]commands} |
causten | 147f575 | 2016-08-11 16:24:45 -0500 | [diff] [blame] | 37 | python -m robot.run --argumentfile {env:ARG_FILE} {posargs} |
Chris Austen | d988e64 | 2016-07-06 10:22:38 -0500 | [diff] [blame] | 38 | |
Chris Austen | b29d2e8 | 2016-06-07 12:25:35 -0500 | [diff] [blame] | 39 | |
Chris Austen | 859be60 | 2016-07-07 16:46:31 -0500 | [diff] [blame] | 40 | [testenv:qemu] |
| 41 | deps = {[testenv]deps} |
| 42 | setenv = {[testenv]setenv} |
| 43 | OPENBMC_MODEL=./data/Palmetto.py |
| 44 | commands = |
| 45 | {[testenv]commands} |
Andrew Geissler | 115842f | 2018-03-01 12:57:53 -0800 | [diff] [blame] | 46 | python -m robot.run --argumentfile {env:ARG_FILE} {posargs} |
George Keishing | 3bd8cf2 | 2016-09-01 00:04:19 -0500 | [diff] [blame] | 47 | |
| 48 | |
| 49 | [testenv:witherspoon] |
| 50 | deps = {[testenv]deps} |
| 51 | setenv = {[testenv]setenv} |
| 52 | OPENBMC_MODEL=./data/Witherspoon.py |
| 53 | commands = |
| 54 | {[testenv]commands} |
George Keishing | 2eef6de | 2016-11-28 23:25:54 -0600 | [diff] [blame] | 55 | python -m robot.run --argumentfile {env:ARG_FILE} {posargs} |
Rahul Maheshwari | efb92cd | 2017-06-11 21:54:39 -0500 | [diff] [blame] | 56 | |
| 57 | [testenv:romulus] |
| 58 | deps = {[testenv]deps} |
| 59 | setenv = {[testenv]setenv} |
| 60 | OPENBMC_MODEL=./data/Romulus.py |
| 61 | commands = |
| 62 | {[testenv]commands} |
| 63 | python -m robot.run --argumentfile {env:ARG_FILE} {posargs} |