24
24
cp -rf scripts templates $(datadir)
25
25
cp -rf helpers/* $(helperdir)
28
tests/helpers/helpers.sh || sh -x tests/helpers/helpers.sh timeout
28
tests_functional/helpers/helpers.sh || sh -x tests_functional/helpers/helpers.sh timeout
29
29
@echo Test shell helpers with dash
30
bash tests/helpers/helpers.sh || bash -x tests/helpers/helpers.sh timeout
31
tests/helpers/helpers.bash || sh -x tests/helpers/helpers.bash timeout
30
bash tests_functional/helpers/helpers.sh || bash -x tests_functional/helpers/helpers.sh timeout
31
tests_functional/helpers/helpers.bash || sh -x tests_functional/helpers/helpers.bash timeout
32
32
@echo Test shell helpers with bash
33
bash tests/helpers/helpers.bash || bash -x tests/helpers/helpers.bash timeout
33
bash tests_functional/helpers/helpers.bash || bash -x tests_functional/helpers/helpers.bash timeout
34
34
@echo Test charm proof
37
PYTHONPATH=helpers/python python helpers/python/charmhelpers/tests/test_charmhelpers.py
38
# @echo PEP8 Lint of Python files
39
# @echo `grep -rl '^#!/.*python' .` | xargs -r -n1 pep8
35
tests_functional/proof/test.sh
36
tests_functional/create/test.sh
37
# PYTHONPATH=helpers/python python helpers/python/charmhelpers/tests/test_charmhelpers.py
40
@echo PEP8 Lint of Python files
41
@pep8 charmtools && echo OK
44
@nosetests -s tests/test_*.py
47
@nosetests --with-coverage --cover-package=charmtools --cover-tests -s tests/test_*.py
49
check: integration test lint
42
52
find . -name '*.pyc' -delete