R=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/
10993080
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12634
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
exit_code = code
suite_paths = utils.GetSuitePaths(join(workspace, "test"))
- print "all suite_paths:", suite_paths
if len(args) == 0:
suite_paths = [ s for s in suite_paths if s in DEFAULT_TESTS ]
import ujson #@UnusedImport
except ImportError:
# Install pip if it doesn't exist.
- code = subprocess.call("which pip", shell=True)
+ code = subprocess.call("which pip > /dev/null", shell=True)
if code != 0:
- apt_get_code = subprocess.call("which apt-get", shell=True)
+ apt_get_code = subprocess.call("which apt-get > /dev/null", shell=True)
if apt_get_code == 0:
print("Installing pip...")
_Cmd("sudo apt-get install python-pip")