
A new test-requirement called spec_cleaner is run on the rendered spec files to check the style of a given spec. This enforces a consistent style between spec files. Also fix the currently available spec files to have a consistent style. Change-Id: I31957cc986e320798d5d6212e4d37fdf89b13b3d
19 lines
443 B
INI
19 lines
443 B
INI
[tox]
|
|
minversion = 1.8
|
|
envlist = rpm-packaging-lint
|
|
skipsdist = True
|
|
|
|
[testenv]
|
|
setenv = VIRTUAL_ENV={envdir}
|
|
install_command = pip install -U {opts} {packages}
|
|
deps = -r{toxinidir}/test-requirements.txt
|
|
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
|
|
|
|
[testenv:lint]
|
|
commands =
|
|
{toxinidir}/tools/run_renderspec.sh {toxinidir}
|
|
{toxinidir}/tools/run_speccleaner.sh {toxinidir}
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|