/[pkg-zope]/zope.cachedescriptors/trunk/debian/tests/all
ViewVC logotype

Diff of /zope.cachedescriptors/trunk/debian/tests/all

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1520 by jinty-guest, Thu Jun 11 07:40:17 2009 UTC revision 1935 by kobold, Tue Jan 5 19:56:57 2010 UTC
# Line 1  Line 1 
1  #!/bin/bash  #!/bin/bash
2    . /usr/share/python-zope.testing/test_helper
 set -e  
   
 PYVERS=$(pyversions -vr debian/control)  
 TMPFILE=$(mktemp)  
   
 cat > $TMPFILE << EOF  
 import sys  
 from zope.testing import testrunner  
   
 subs = (sys.version_info[0], sys.version_info[1])  
 test_path = '/usr/lib/python%s.%s/site-packages/' % subs  
   
   
   
 exitcode = testrunner.run([  
                 '--tests-pattern', '^f?tests$',  
                 '-s', 'zope.cachedescriptors',  
                 '--test-path', test_path  
                 ])  
 sys.exit(exitcode)  
 EOF  
   
 for version in ${PYVERS}; do  
     python${version} ${TMPFILE}  
 done  
   
 rm $TMPFILE  

Legend:
Removed from v.1520  
changed lines
  Added in v.1935

  ViewVC Help
Powered by ViewVC 1.1.5