blob: dffb8d729000e60d37866653c1c6785087e98c29 [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 PYTHONWARNINGS="ignore:Unverified HTTPS request"
9 OPENBMC_PASSWORD=0penBmc
10 OPENBMC_USERNAME=root
11 SYSLOG_IP_ADDRESS=127.0.0.1
12 SYSLOG_PORT=514
13whitelist_externals = *
14install_command = pip install -U {opts} {packages}
15deps = -r{toxinidir}/requirements.txt
16commands =
Chris Austend988e642016-07-06 10:22:38 -050017 -mkdir {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}
Chris Austend988e642016-07-06 10:22:38 -050035 python -m robot.run --exclude reboot_tests --argumentfile {env:ARG_FILE} {posargs}
36
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}
Chris Austend988e642016-07-06 10:22:38 -050044 python -m robot.run --exclude reboot_tests --argumentfile {env:ARG_FILE} {posargs}
45
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}
Chris Austend988e642016-07-06 10:22:38 -050053 python -m robot.run --exclude reboot_tests --argumentfile {env:ARG_FILE} {posargs}
54
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}
Chris Austen859be602016-07-07 16:46:31 -050062 python -m robot.run --exclude reboot_tests --argumentfile {env:ARG_FILE} {posargs}
63
64
65[testenv:qemu]
66deps = {[testenv]deps}
67setenv = {[testenv]setenv}
68 OPENBMC_MODEL=./data/Palmetto.py
69commands =
70 {[testenv]commands}
Chris Austend988e642016-07-06 10:22:38 -050071 python -m robot.run --exclude reboot_tests --argumentfile {env:ARG_FILE} {posargs}