Merge "Don't need to init testr explicitly"

This commit is contained in:
Jenkins
2013-09-17 00:17:50 +00:00
committed by Gerrit Code Review

View File

@@ -72,11 +72,6 @@ if [ $no_site_packages -eq 1 ]; then
installvenvopts="--no-site-packages" installvenvopts="--no-site-packages"
fi fi
function init_testr {
if [ ! -d .testrepository ]; then
${wrapper} testr init
fi
}
function run_tests { function run_tests {
# Cleanup *.pyc # Cleanup *.pyc
@@ -179,7 +174,6 @@ if [ $just_flake8 -eq 1 ]; then
exit exit
fi fi
init_testr
run_tests run_tests
# NOTE(sirp): we only want to run flake8 when we're running the full-test suite, # NOTE(sirp): we only want to run flake8 when we're running the full-test suite,