Add another batch test

This commit is contained in:
rocky
2018-03-07 07:24:07 -05:00
parent 74e280171b
commit 30756c52b2
2 changed files with 19 additions and 5 deletions

11
.gitignore vendored
View File

@@ -1,11 +1,15 @@
*.pyo
*.pyc *.pyc
*.pyo
*_dis *_dis
*~ *~
/.cache /.cache
/.eggs /.eggs
/.hypothesis
/.idea
/.pytest_cache
/.python-version /.python-version
/.tox /.tox
/.venv*
/README /README
/__pkginfo__.pyc /__pkginfo__.pyc
/dist /dist
@@ -14,9 +18,6 @@
/tmp /tmp
/uncompyle6.egg-info /uncompyle6.egg-info
/unpyc /unpyc
ChangeLog
__pycache__ __pycache__
build build
/.venv*
/.idea
/.hypothesis
ChangeLog

13
test/run-and-email.sh Executable file
View File

@@ -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