~glance-coresec/glance/trunk

« back to all changes in this revision

Viewing changes to tools/with_venv.sh

  • Committer: jaypipes at gmail
  • Date: 2010-10-08 20:42:13 UTC
  • mto: This revision was merged to the branch mainline in revision 12.
  • Revision ID: jaypipes@gmail.com-20101008204213-oy424tgk853jaq6r
First round of cleaning up the unittests. Adds test suite runner, support for virtualenv setup and library dependencies, resolves issues with ImportErrors on cloudfiles, adds pymox/stubout support and splits the backend testing into distinct unittest cases.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/bash
 
2
TOOLS=`dirname $0`
 
3
VENV=$TOOLS/../.glance-venv
 
4
source $VENV/bin/activate && $@