~rackspace-titan/glance/glance-clear-lp766295

« back to all changes in this revision

Viewing changes to run_tests.sh

  • Committer: Rick Harris
  • Date: 2011-02-01 19:29:50 UTC
  • mto: This revision was merged to the branch mainline in revision 60.
  • Revision ID: rick.harris@rackspace.com-20110201192950-apfall2c5zqzbpv6
Adds --sql-connection option

Show diffs side-by-side

added added

removed removed

Lines of Context:
71
71
  fi
72
72
fi
73
73
 
74
 
run_tests && pep8 --repeat --show-pep8 --show-source bin/* glance setup.py run_tests.py || exit 1
 
74
# FIXME(sirp): bzr version-info is not currently pep-8. This was fixed with
 
75
# lp701898 [1], however, until that version of bzr becomes standard, I'm just
 
76
# excluding the vcsversion.py file
 
77
#
 
78
# [1] https://bugs.launchpad.net/bzr/+bug/701898
 
79
#
 
80
PEP8_EXCLUDE=vcsversion.py
 
81
PEP8_OPTIONS="--exclude=$PEP8_EXCLUDE --repeat --show-pep8 --show-source"
 
82
run_tests && pep8 $PEP8_OPTIONS bin/* glance setup.py run_tests.py || exit 1