6ad8eb01ae
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>
17 lines
311 B
INI
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"
|
|
|