Lines Matching +full:- +full:- +full:exit +full:- +full:code
8 # * Redistributions of source code must retain the above copyright
36 PIDFILE = "/tmp/v8-distributed-testing-server.pid"
59 code = subprocess.call(cmd, shell=True)
60 if code != 0:
61 print("Command '%s' returned error code %d" % (cmd, code))
62 sys.exit(code)
81 code = subprocess.call("which pip > /dev/null", shell=True)
82 if code != 0:
83 apt_get_code = subprocess.call("which apt-get > /dev/null", shell=True)
86 _Cmd("sudo apt-get install python-pip")
89 "http://www.pip-installer.org/en/latest/installing.html "
91 sys.exit(1)
98 _Cmd("ssh-keygen -t rsa -f %s -N '' -q" % privkeyfile)
99 fingerprint = subprocess.check_output("ssh-keygen -lf %s" % privkeyfile,
105 _Cmd("openssl rsa -in %s -out %s -pubout" % (privkeyfile, pubkeyfile))
119 _Cmd("svn checkout --force %s %s" % (path, testrunner_dir))
123 "tools/test-server.py")
143 sys.exit(1)
145 sys.exit(0)
159 sys.exit(1)
165 sys.exit(1)
182 elif arg in ("help", "-h", "--help"):
192 sys.exit(2)
199 sys.exit(1)
210 sys.exit(2)
214 sys.exit(2)
215 sys.exit(0)