summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArmando Migliaccio <armando.migliaccio@eu.citrix.com>2012-02-09 10:32:24 +0000
committerArmando Migliaccio <armando.migliaccio@eu.citrix.com>2012-02-09 10:32:24 +0000
commit61e6f4e34aebdcc79d377fafede563dbd9e63019 (patch)
tree5bc69481577630883c7d1bec8bb5d19fbf85e0c0
parent1815aaf13af1c5d6d4225fa0f8f4adb2b10548e6 (diff)
downloadnova-61e6f4e34aebdcc79d377fafede563dbd9e63019.tar.gz
nova-61e6f4e34aebdcc79d377fafede563dbd9e63019.tar.xz
nova-61e6f4e34aebdcc79d377fafede563dbd9e63019.zip
bug 929428: pep8 validation on all xapi plugins
check every python file under <nova_root>/plugins/xenserver/. Ignore patch files. Change-Id: Ib1170ddabe03de746aae570d30b133aaffb09c88
-rwxr-xr-xrun_tests.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/run_tests.sh b/run_tests.sh
index fcc0c1f80..7cb0ca9a0 100755
--- a/run_tests.sh
+++ b/run_tests.sh
@@ -92,12 +92,14 @@ function run_tests {
function run_pep8 {
echo "Running pep8 ..."
# Opt-out files from pep8
- ignore_scripts="*.sh:*nova-debug:*clean-vlans"
+ ignore_scripts="*.patch:*.sh:*nova-debug:*clean-vlans"
ignore_files="*eventlet-patch:*pip-requires"
GLOBIGNORE="$ignore_scripts:$ignore_files"
srcfiles=`find bin -type f ! -name "nova.conf*" ! -name "api-paste.ini*"`
srcfiles+=" `find tools/*`"
- srcfiles+=" nova setup.py plugins/xenserver/xenapi/etc/xapi.d/plugins/glance"
+ srcfiles+=" nova setup.py"
+ srcfiles+=" plugins/xenserver/networking/etc/xensource/scripts/*"
+ srcfiles+=" plugins/xenserver/xenapi/etc/xapi.d/plugins/*"
# Just run PEP8 in current environment
#
# NOTE(sirp): W602 (deprecated 3-arg raise) is being ignored for the