Add console output tests for release.
This commit is contained in:
parent
4fce0ff28b
commit
d67455b2d0
1 changed files with 4 additions and 1 deletions
5
Makefile
5
Makefile
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue