forked from mkumatag/openbmc-automation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
69 lines (61 loc) · 2.3 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
64
65
66
67
68
69
[tox]
skipsdist = True
[testenv]
passenv = *
setenv =
ARG_FILE={env:ARG_FILE:/tmp/argument_file.txt}
PYTHONWARNINGS="ignore:Unverified HTTPS request"
OPENBMC_PASSWORD=0penBmc
OPENBMC_USERNAME=root
whitelist_externals = *
install_command = pip install -U {opts} {packages}
deps = -r{toxinidir}/requirements.txt
commands =
bash {toxinidir}/tools/generate_argumentfile.sh
python -m robot.run --exclude reboot_tests --argumentfile {env:ARG_FILE:/tmp/argument_file.txt} {posargs}
[testenv:full]
deps = {[testenv]deps}
setenv = {[testenv]setenv}
commands =
bash {toxinidir}/tools/generate_argumentfile.sh
python -m robot.run --exclude reboot_tests --argumentfile {env:ARG_FILE:/tmp/argument_file.txt} .
[testenv:tests]
deps = {[testenv]deps}
setenv = {[testenv]setenv}
commands =
bash {toxinidir}/tools/generate_argumentfile.sh
python -m robot.run --exclude reboot_tests --argumentfile {env:ARG_FILE:/tmp/argument_file.txt} tests
[testenv:custom]
deps = {[testenv]deps}
setenv = {[testenv]setenv}
commands =
bash {toxinidir}/tools/generate_argumentfile.sh
python -m robot.run --exclude reboot_tests --argumentfile {env:ARG_FILE:/tmp/argument_file.txt} {posargs}
[testenv:barreleye]
deps = {[testenv]deps}
setenv = {[testenv]setenv}
OPENBMC_MODEL=./data/Barreleye.py
commands =
bash {toxinidir}/tools/generate_argumentfile.sh
python -m robot.run --exclude reboot_tests --argumentfile {env:ARG_FILE:/tmp/argument_file.txt} {posargs}
[testenv:palmetto]
deps = {[testenv]deps}
setenv = {[testenv]setenv}
OPENBMC_MODEL=./data/Palmetto.py
commands =
bash {toxinidir}/tools/generate_argumentfile.sh
python -m robot.run --exclude reboot_tests --argumentfile {env:ARG_FILE:/tmp/argument_file.txt} {posargs}
[testenv:firestone]
deps = {[testenv]deps}
setenv = {[testenv]setenv}
OPENBMC_MODEL=./data/Firestone.py
commands =
bash {toxinidir}/tools/generate_argumentfile.sh
python -m robot.run --exclude reboot_tests --argumentfile {env:ARG_FILE:/tmp/argument_file.txt} {posargs}
[testenv:Garrison]
deps = {[testenv]deps}
setenv = {[testenv]setenv}
OPENBMC_MODEL=./data/Garrison.py
commands =
bash {toxinidir}/tools/generate_argumentfile.sh
python -m robot.run --exclude reboot_tests --argumentfile {env:ARG_FILE:/tmp/argument_file.txt} {posargs}