prettify: factor out selftest to separate _TEST.py file

This commit is contained in:
Tiziano Müller 2019-05-13 15:00:38 +02:00 committed by Tiziano Müller
parent 6ef98e5b04
commit 9192da5e4c
3 changed files with 41 additions and 39 deletions

View file

@ -34,8 +34,8 @@ ERRORS=0
cd /workspace/cp2k
# find executable python scripts
ALL_SCRIPTS=$(find ./src/ ./tools/ -name "*.py" -executable)
ESSENTIAL_SCRIPTS=$(find ./tools/build_utils -name "*.py" -executable)
ALL_TEST_SCRIPTS=$(find ./src/ ./tools/ -name "*_test.py" -executable)
ESSENTIAL_TEST_SCRIPTS=$(find ./tools/build_utils -name "*_test.py" -executable)
# python 2.6
run_selftests python2.6 "${ESSENTIAL_SCRIPTS}"