[Modeling-cvs] SF.net SVN: modeling: [971] trunk/ProjectModeling/Modeling/tests/tests.sh
Status: Abandoned
Brought to you by:
sbigaret
From: <sbi...@us...> - 2006-02-25 23:50:04
|
Revision: 971 Author: sbigaret Date: 2006-02-25 15:49:51 -0800 (Sat, 25 Feb 2006) ViewCVS: http://svn.sourceforge.net/modeling/?rev=971&view=rev Log Message: ----------- Few comments added Modified Paths: -------------- trunk/ProjectModeling/Modeling/tests/tests.sh Modified: trunk/ProjectModeling/Modeling/tests/tests.sh =================================================================== --- trunk/ProjectModeling/Modeling/tests/tests.sh 2006-02-25 23:47:54 UTC (rev 970) +++ trunk/ProjectModeling/Modeling/tests/tests.sh 2006-02-25 23:49:51 UTC (rev 971) @@ -1,4 +1,11 @@ #! /bin/bash +# +# This scripts runs all available tests on python 2.1, 2.2, 2.3 and 2.4, +# testing all possible database backends: +# MySQL, Oracle (8i and 9i), Postgresql and SQLite. +# +# Adapt to your needs! +# PYTHON21=python2.1 PYTHON21PATH="/home/big/lib/python2.1:/home/big/lib/python2.1/site-packages:/usr/lib/python2.1:/usr/lib/python2.1/site-packages" @@ -9,12 +16,13 @@ PYTHON24=python2.4 PYTHON24PATH="/home/big/lib/python2.4:/home/big/lib/python2.4/site-packages" -PYTHON=$PYTHON21 function execute() { echo $* $PYTHON -W 'ignore::RuntimeWarning::' $* #2>/dev/null } +# DCOracle2 is compiled for oracle 8i AND 9i w/ every versions of python, +# and the corresponding py/c extension dco2.so is stored as dco2.9i.so or dco2.9i.so function oracle8i() { ORACLE_HOME=/home/u01/app/oracle/product/8.1.7; export ORACLE_HOME cp ~/lib/python2.1/site-packages/dco2.8i.so ~/lib/python2.1/site-packages/dco2.so @@ -79,6 +87,7 @@ echo "------------------------------------------------------------------------" echo "Python2.1" +PYTHON=$PYTHON21 unset PYTHONPATH; declare -x PYTHONPATH=$PYTHON21PATH run_tests This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |