Fix run_tests.sh so that it can build a venv

Change-Id: Ic94b245f356aac7baa2c78894e9930e8168091e9
closes-bug: #1379625
Merge "Fix run_tests.sh so that it can build a venv"