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>
This commit is contained in:
parent
e7672a0aa9
commit
6ad8eb01ae
3
Makefile
3
Makefile
@ -26,6 +26,3 @@ install:
|
|||||||
for file in ocf/*; do \
|
for file in ocf/*; do \
|
||||||
$(INSTALL) -t $(DESTDIR)/usr/lib/ocf/resource.d/openstack -m 0755 $${file} ; \
|
$(INSTALL) -t $(DESTDIR)/usr/lib/ocf/resource.d/openstack -m 0755 $${file} ; \
|
||||||
done
|
done
|
||||||
|
|
||||||
syntax-check:
|
|
||||||
utils/syntax_check.sh -a -p
|
|
||||||
|
7
tox.ini
7
tox.ini
@ -1,5 +1,5 @@
|
|||||||
[tox]
|
[tox]
|
||||||
envlist = bashate
|
envlist = bashate,syntax-check
|
||||||
skipsdist = True
|
skipsdist = True
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
@ -9,3 +9,8 @@ whitelist_externals = bash
|
|||||||
deps = bashate
|
deps = bashate
|
||||||
commands = bash -c "bashate --verbose {toxinidir}/ocf/*"
|
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"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user