openstack-resource-agents/tox.ini
Norbert Illes 6ad8eb01ae Move syntax-check test to tox.ini
This commit moves the syntax-check test from a make target to tox.ini

Change-Id: Id15320c589afea2b3a4a5cff5e7fa9c5c2b9d0b8
Signed-off-by: Norbert Illes <norbert.e.illes@ericsson.com>
2016-02-24 15:19:00 +01:00

17 lines
311 B
INI

[tox]
envlist = bashate,syntax-check
skipsdist = True
[testenv]
whitelist_externals = bash
[testenv:bashate]
deps = bashate
commands = bash -c "bashate --verbose {toxinidir}/ocf/*"
[testenv:syntax-check]
setenv =
CHECK_PATH = {toxinidir}/ocf
commands = bash -c "{toxinidir}/utils/syntax_check.sh -a -p"