Add console output tests for release.

This commit is contained in:
Bastian Kleineidam 2013-04-12 21:22:46 +02:00
parent 4fce0ff28b
commit d67455b2d0

View file

@ -69,8 +69,11 @@ register:
@echo "Submit to freecode..." @echo "Submit to freecode..."
freecode-submit < $(LAPPNAME).freecode freecode-submit < $(LAPPNAME).freecode
releasecheck: check releasecheck:
git checkout master git checkout master
$(MAKE) check test
# test console output (behaves differently than redirected output)
$(MAKE) test PYTESTOPTS="-s" TESTS=tests/test_dosage.py
@if egrep -i "xx\.|xxxx|\.xx" doc/changelog.txt > /dev/null; then \ @if egrep -i "xx\.|xxxx|\.xx" doc/changelog.txt > /dev/null; then \
echo "Could not release: edit doc/changelog.txt release date"; false; \ echo "Could not release: edit doc/changelog.txt release date"; false; \
fi fi