diff --git a/.gitignore b/.gitignore index 59caeedf..b2bb20de 100644 --- a/.gitignore +++ b/.gitignore @@ -1,11 +1,15 @@ -*.pyo *.pyc +*.pyo *_dis *~ /.cache /.eggs +/.hypothesis +/.idea +/.pytest_cache /.python-version /.tox +/.venv* /README /__pkginfo__.pyc /dist @@ -14,9 +18,6 @@ /tmp /uncompyle6.egg-info /unpyc +ChangeLog __pycache__ build -/.venv* -/.idea -/.hypothesis -ChangeLog diff --git a/test/run-and-email.sh b/test/run-and-email.sh new file mode 100755 index 00000000..7fc3e965 --- /dev/null +++ b/test/run-and-email.sh @@ -0,0 +1,13 @@ +#!/usr/bin/bash +EMAIL=${EMAIL:-rb@dustyfeet.com} +for VERSION in 2.7.14 2.6.9 ; do + LOGFILE=/tmp/pyenlib-$VERSION-$$.log + python ./test_pyenvlib.py --max 800 --weak-verify --$VERSION >$LOGFILE 2>&1 + rc=$? + if ((rc == 0)); then + tail -v $LOGFILE | mail -s \""$VERSION ok"\" rocky@localhost + else + tail -v $LOGFILE | mail -s \""$VERSION not ok"\" rocky@localhost + tail -v $LOGFILE | mail -s \""$VERSION not ok"\" rb@dustyfeet.com + fi +done