updated run_CI_tests.py
This commit is contained in:
@@ -22,7 +22,7 @@ from time import sleep;
|
||||
# Override system command.
|
||||
# run command. if not successful, complain and exit with error
|
||||
def eval_cmd(cmd):
|
||||
# print cmd
|
||||
# print cmd
|
||||
res = subprocess.call (cmd, shell=True)
|
||||
if res < 0:
|
||||
print "Failed running: %s" % (cmd)
|
||||
@@ -30,7 +30,7 @@ def eval_cmd(cmd):
|
||||
return res
|
||||
|
||||
def eval_cmd_output(cmd):
|
||||
# print cmd
|
||||
# print cmd
|
||||
p = subprocess.Popen(cmd, shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
|
||||
if p:
|
||||
return p.communicate()[0]
|
||||
|
||||
Reference in New Issue
Block a user