-
Notifications
You must be signed in to change notification settings - Fork 92
/
tox.ini
63 lines (53 loc) · 1.48 KB
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
[tox]
skipsdist = True
[testenv]
passenv = *
setenv =
ARG_FILE={envtmpdir}/argument_file.txt
OPENBMC_PASSWORD=0penBmc
OPENBMC_USERNAME=root
SYSLOG_IP_ADDRESS=127.0.0.1
SYSLOG_PORT=514
IPMI_COMMAND=External
IPMI_CIPHER_LEVEL=17
whitelist_externals = *
install_command = pip install {opts} {packages}
deps = -r{toxinidir}/requirements.txt
commands =
-mkdir -p {envtmpdir}
bash {toxinidir}/tools/generate_argumentfile.sh
cp bin/ssh_pw {envdir}/bin/ssh_pw
[testenv:default]
deps = {[testenv]deps}
setenv = {[testenv]setenv}
commands =
{[testenv]commands}
python -m robot.run --argumentfile {env:ARG_FILE} {posargs}
[testenv:palmetto]
deps = {[testenv]deps}
setenv = {[testenv]setenv}
OPENBMC_MODEL=./data/Palmetto.py
commands =
{[testenv]commands}
python -m robot.run --argumentfile {env:ARG_FILE} {posargs}
[testenv:qemu]
deps = {[testenv]deps}
setenv = {[testenv]setenv}
OPENBMC_MODEL=./data/Palmetto.py
commands =
{[testenv]commands}
python -m robot.run --argumentfile {env:ARG_FILE} {posargs}
[testenv:witherspoon]
deps = {[testenv]deps}
setenv = {[testenv]setenv}
OPENBMC_MODEL=./data/Witherspoon.py
commands =
{[testenv]commands}
python -m robot.run --argumentfile {env:ARG_FILE} {posargs}
[testenv:romulus]
deps = {[testenv]deps}
setenv = {[testenv]setenv}
OPENBMC_MODEL=./data/Romulus.py
commands =
{[testenv]commands}
python -m robot.run --argumentfile {env:ARG_FILE} {posargs}