[game-data-packager] 11/11: Update debian/tests/ in check target
Simon McVittie
smcv at debian.org
Sun Dec 31 16:59:27 UTC 2017
This is an automated email from the git hooks/post-receive script.
smcv pushed a commit to branch master
in repository game-data-packager.
commit f6630f78ad07781f7d3f47b033e1477c30ac10c7
Author: Simon McVittie <smcv at debian.org>
Date: Sun Dec 31 16:08:21 2017 +0000
Update debian/tests/ in check target
This puts it close to the list of tests that we want to run.
Signed-off-by: Simon McVittie <smcv at debian.org>
---
Makefile | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/Makefile b/Makefile
index b37d8bb..384cd53 100644
--- a/Makefile
+++ b/Makefile
@@ -342,6 +342,14 @@ distclean: clean
rm -f configure.mk config.status
check:
+ set -e; \
+ for x in tests/*.py tools/check_equivalence.py tools/check_syntax.py; do \
+ case "$$x" in \
+ (*/__init__.py) \
+ continue;; \
+ esac; \
+ ln -sf ../../"$$x" debian/tests/"$$(basename "$${x%.py}" | tr _ -)"; \
+ done
LC_ALL=C.UTF-8 $(PYFLAKES3) game_data_packager/*.py game_data_packager/*/*.py runtime/*.py tests/*.py tools/*.py || :
LC_ALL=C.UTF-8 GDP_UNINSTALLED=1 PYTHONPATH=. $(PYTHON) tests/deb.py
LC_ALL=C.UTF-8 GDP_UNINSTALLED=1 PYTHONPATH=. $(PYTHON) tests/hashed_file.py
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/game-data-packager.git
More information about the Pkg-games-commits
mailing list