Browse Source

Merge "Add bindep.txt file"

master
Zuul 1 year ago
parent
commit
cb442612fb
2 changed files with 12 additions and 0 deletions
  1. 2
    0
      bindep.txt
  2. 10
    0
      tox.ini

+ 2
- 0
bindep.txt View File

@@ -0,0 +1,2 @@
1
+# This is a cross-platform list tracking distribution packages needed by tests;
2
+# see http://docs.openstack.org/infra/bindep/ for additional information.

+ 10
- 0
tox.ini View File

@@ -22,3 +22,13 @@ commands = flake8
22 22
 passenv =
23 23
   SSH_AUTH_SOCK
24 24
 commands = python scripts/tripleo-jobs-gerrit.py {posargs}
25
+
26
+# This environment can be used to quickly validate that all needed system
27
+# packages required to successfully execute test targets are installed
28
+[testenv:bindep]
29
+# Do not install any requirements. We want this to be fast and work even if
30
+# system dependencies are missing, since it's used to tell you what system
31
+# dependencies are missing! This also means that bindep must be installed
32
+# separately, outside of the requirements files.
33
+deps = bindep
34
+commands = bindep test

Loading…
Cancel
Save