Files
dbdd6945d72fdc1719f88c92d961f20eccd5d01d
246 lines
7.5 KiB
Bash
246 lines
7.5 KiB
Bash
echo " -f, --force Force a clean re-build of the virtual environment. Useful when dependencies have been added."
echo "Note: with no options specified, the script will try to run the tests in a virtual environment,"
with_venv=tools/with_venv.sh
Run tools/hacking.py instead of pep8 mandatory.
Change-Id: I81db73588ece36dec4dba90b9841ed6d0fac6a8f
echo "Running PEP8 and HACKING compliance check..."
PYTHONPATH=$SCRIPT_ROOT/plugins/xenserver/networking/etc/xensource/scripts ${wrapper} python tools/hacking.py ${ignore} ./plugins/xenserver/networking
PYTHONPATH=$SCRIPT_ROOT/plugins/xenserver/xenapi/etc/xapi.d/plugins ${wrapper} python tools/hacking.py ${ignore} ./plugins/xenserver/xenapi
# NOTE(sirp): Dom0 plugins are written for Python 2.4, meaning some HACKING
fi
# NOTE(sirp): we only want to run pep8 when we're running the full-test suite,