diff options
| author | Dan Prince <dprince@redhat.com> | 2012-04-22 21:11:03 -0400 |
|---|---|---|
| committer | Dan Prince <dprince@redhat.com> | 2012-04-22 21:11:03 -0400 |
| commit | 2b490fd2ef3a74402147893be646c00505da8628 (patch) | |
| tree | 85b77ae0193eadc61f1e58d5dbd359b4c794af1e | |
| parent | f8aa96679552935e22bc47851a30e712beadd629 (diff) | |
Exclude xenapi plugins from pep8/hacking checks.
Fixes LP Bug #987055.
Change-Id: I7132b88c5e0a90b16d0f8e35df45b82e7991280f
| -rwxr-xr-x | run_tests.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/run_tests.sh b/run_tests.sh index 72f983565..97d229f67 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -96,12 +96,12 @@ function run_tests { # when running on devstack. # NOTE(lzyeval): Avoid selecting *.pyc files to reduce pep8 check-up time # when running on devstack. -xen_api_path="plugins/xenserver/xenapi/etc/xapi.d/plugins" +# NOTE(dprince): Exclude xenapi plugins. They are Python 2.4 code and as such +# cannot be expected to work with tools/hacking checks. xen_net_path="plugins/xenserver/networking/etc/xensource/scripts" srcfiles=`find nova -type f -name "*.py"` srcfiles+=" `find bin -type f ! -name "nova.conf*" ! -name "*api-paste.ini*"`" srcfiles+=" `find tools -type f -name "*.py"`" -srcfiles+=" `find ${xen_api_path} ${xen_net_path} -type f ! -name "*.patch" ! -name "*.pyc"`" srcfiles+=" setup.py" function run_pep8 { |
