From 612b1bd95510252721ba1a0531bd27e2706cad1d Mon Sep 17 00:00:00 2001 From: Zhiteng Huang Date: Mon, 23 Jul 2012 14:39:48 +0800 Subject: [PATCH] Don't do PEP8 test for openstack-common code. Pep8 test reports issue on openstack-common modules, which would fail CI test. Pep8 test should skip openstack-common and assuming they are problem-free code. Even it's not, bug/fix should go to openstack-common first, then resync back to Cinder. Therefore, Cinder should skip pep8 test for openstack-common code. Fix bug #1027774 Change-Id: I22c45542401022a6bad9f2320e8657f972915f69 --- run_tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run_tests.sh b/run_tests.sh index c08eb6a34..4e64ec90d 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -104,7 +104,7 @@ function run_tests { # 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 cinder -type f -name "*.py"` +srcfiles=`find cinder -type f -name "*.py" ! -path "cinder/openstack/common/*"` srcfiles+=" `find bin -type f ! -name "cinder.conf*" ! -name "*api-paste.ini*"`" srcfiles+=" `find tools -type f -name "*.py"`" srcfiles+=" setup.py" -- 2.45.2