~ubuntu-branches/ubuntu/quantal/nova/quantal-proposed

« back to all changes in this revision

Viewing changes to run_tests.sh

  • Committer: Package Import Robot
  • Author(s): Chuck Short
  • Date: 2012-08-16 14:04:11 UTC
  • mto: This revision was merged to the branch mainline in revision 84.
  • Revision ID: package-import@ubuntu.com-20120816140411-0mr4n241wmk30t9l
Tags: upstream-2012.2~f3
ImportĀ upstreamĀ versionĀ 2012.2~f3

Show diffs side-by-side

added added

removed removed

Lines of Context:
95
95
        cat run_tests.log
96
96
    fi
97
97
  fi
 
98
  # cleanup locks - not really needed, but stops pollution of the source tree
 
99
  rm -f nova-ensure_bridge nova-ensure_vlan nova-iptables nova-testlock1 nova-testlock2
98
100
  return $RESULT
99
101
}
100
102
 
107
109
  #                when running on devstack.
108
110
  # NOTE(lzyeval): Avoid selecting *.pyc files to reduce pep8 check-up time
109
111
  #                when running on devstack.
110
 
  srcfiles=`find nova -type f -name "*.py"`
 
112
  srcfiles=`find nova -type f -name "*.py" ! -wholename "nova\/openstack*"`
111
113
  srcfiles+=" `find bin -type f ! -name "nova.conf*" ! -name "*api-paste.ini*"`"
112
114
  srcfiles+=" `find tools -type f -name "*.py"`"
113
115
  srcfiles+=" setup.py"
120
122
  # NOTE(sirp): Dom0 plugins are written for Python 2.4, meaning some HACKING
121
123
  #             checks are too strict.
122
124
  pep8onlyfiles=`find plugins -type f -name "*.py"`
123
 
  pep8onlyfiles+=" `find plugins/xenserver/xenapi/etc/xapi.d/plugins/ -type f -executable`"
 
125
  pep8onlyfiles+=" `find plugins/xenserver/xenapi/etc/xapi.d/plugins/ -type f -perm +111`"
124
126
  ${wrapper} pep8 ${pep8onlyfiles}
125
127
}
126
128