[Zope-CVS] CVS: Packages/TestScripts - testzope:1.4
Shane Hathaway
shane@cvs.zope.org
Thu, 12 Sep 2002 13:32:21 -0400
Update of /cvs-repository/Packages/TestScripts
In directory cvs.zope.org:/tmp/cvs-serv31512
Modified Files:
testzope
Log Message:
Added more products to test, started sending emails only to myself ;-) , and
disabled the bsddb3storage tests since they segfault right now. (I may need
to update the bsddb3 library.)
=== Packages/TestScripts/testzope 1.3 => 1.4 ===
--- Packages/TestScripts/testzope:1.3 Tue Mar 12 17:37:26 2002
+++ Packages/TestScripts/testzope Thu Sep 12 13:32:21 2002
@@ -1,27 +1,47 @@
#!/bin/sh
HOME=/home/background
-RECIPIENT=zope-coders@zope.org
-PY22=/usr/local/bin/python2.2
+RECIPIENT=shane@localhost
+PYTHON=/usr/bin/python2.1
+PY22=/usr/bin/python2.2
+
+ulimit -t 900 -u 20 -v 100000
checkout() {
cd $HOME
- rm -rf zopetest CMF
+ rm -rf zopetest CMF Products
export CVSROOT=:pserver:anonymous@cvs.zope.org:/cvs-repository
- cvs co -d zopetest Zope
+ if [ "$1" != "" ]; then
+ cvs co -d zopetest -r $1 Zope
+ else
+ cvs co -d zopetest Zope
+ fi
cvs co CMF
+ cvs co Products/BTreeFolder2
+ #cvs co Products/VerboseSecurity
+ cvs co Products/ZopeVersionControl
+
cd $HOME/zopetest/lib/python
+ cp -f $HOME/custom_zodb.py Testing/custom_zodb.py
cvs co -d ZEO ZEO/ZEO
- cvs co -d bsddb3Storage Packages/bsddb3Storage/bsddb3Storage
+ #cvs co -d bsddb3Storage Packages/bsddb3Storage/bsddb3Storage
+ if true; then
cd $HOME/zopetest/lib/python/Products
ln -s $HOME/CMF/CMFCore
ln -s $HOME/CMF/CMFDefault
ln -s $HOME/CMF/CMFTopic
- ln -s $HOME/CMF/CMFDecor
ln -s $HOME/CMF/CMFCalendar
ln -s $HOME/CMF/CMFTracker
ln -s $HOME/CMF/CMFCollector
ln -s $HOME/CMF/CMFWiki
ln -s $HOME/CMF/DCWorkflow
+
+ ln -s $HOME/Products/BTreeFolder2
+ #ln -s $HOME/Products/VerboseSecurity
+ ln -s $HOME/Products/ZopeVersionControl
+ ln -s $HOME/CMF/CMFStaging
+ ln -s $HOME/CMF/CMFWorkspaces
+
+ fi
#cvs -d :pserver:anonymous@cvs.zope.org:/cvs-repository co -d ParsedXML \
# Products/ParsedXML
cd $HOME/zopetest
@@ -32,21 +52,21 @@
#cd $HOME/zopetest/lib/python/Products/ParsedXML/Expat
#python setup.py build
cd $HOME/zopetest
-python wo_pcgi.py
+$PYTHON wo_pcgi.py
rm -f inituser
cd $HOME/zopetest
-python -Werror utilities/testrunner.py -v0 -a >$HOME/headresults 2>&1
+$PYTHON -Werror utilities/testrunner.py -v2 -a >$HOME/headresults 2>&1
else
echo Tests disabled >$HOME/headresults
fi
if true; then
-checkout
+checkout Zope-2_5-branch
cd $HOME/zopetest
-python wo_pcgi.py
+$PYTHON wo_pcgi.py
rm -f inituser
cd $HOME/zopetest
-python -Werror utilities/testrunner.py -v0 -a >$HOME/z25results 2>&1
+$PYTHON -Werror utilities/testrunner.py -v2 -a >$HOME/z25results 2>&1
else
echo Tests disabled >$HOME/z25results
fi
@@ -56,31 +76,31 @@
cd $HOME/zopetest
# Note: a proper Makefile must be in /usr/local/lib/python2.2/config
# for distutils to work.
-cvs -q up -j distutils-config-branch setup.py
+#cvs -q up -j distutils-config-branch setup.py
$PY22 setup.py build_ext --build-lib $HOME/zopetest/lib/python
-$PY22 -Werror utilities/testrunner.py -v0 -a >$HOME/py22results 2>&1
+$PY22 -Werror utilities/testrunner.py -v2 -a >$HOME/py22results 2>&1
else
echo Tests disabled >$HOME/py22results
fi
cd $HOME
-mail -s 'Zope test results' $RECIPIENT <<END_OF_THE_MESSAGE
-Zope2 tests include CMF, ZEO, and bsddb3Storage packages.
+mail -s 'Zope test results' $RECIPIENT <<ENDMAIL
+Zope2 tests include the ZEO and CMF packages.
**********************************************************************
-Zope CVS Head
+Zope CVS Head with `$PYTHON -V 2>&1`
**********************************************************************
`cat headresults`
**********************************************************************
-Zope 2.5 branch
+Zope 2.5 branch with `$PYTHON -V 2>&1`
**********************************************************************
`cat z25results`
**********************************************************************
-Zope CVS Head with `$PY22 -V 2>&1` (plus distutils-config-branch)
+Zope CVS Head with `$PY22 -V 2>&1`
**********************************************************************
`cat py22results`
-END_OF_THE_MESSAGE
+ENDMAIL