Make pep8 tests run inside virtualenv

Running pep8 results in the following error:

Traceback (most recent call last):
File "tools/hacking.py", line 34, in <module>
import pep8
ImportError: No module named pep8

Change-Id: I31a8bfbffa9ddee306ab414fab367c74d34fdd6b
This commit is contained in:
Hans Lindgren 2013-02-16 20:49:57 +01:00
parent dc5a994e33
commit 404eb54c57

View File

@ -149,7 +149,7 @@ function copy_subunit_log {
function run_pep8 {
echo "Running PEP8 and HACKING compliance check..."
bash tools/run_pep8.sh
bash -c "${wrapper} tools/run_pep8.sh"
}