Commit d91d3699 by Reed Kotler Committed by Jim Stichnoth

Subzero: Always enable --echo-cmd in the lit tests.

BUG= none R=stichnot@chromium.org Review URL: https://codereview.chromium.org/1604063002 . Patch from Reed Kotler <rkotlerimgtec@gmail.com>.
parent 53378c14
......@@ -6,7 +6,10 @@ def shellcmd(command, echo=True):
if not isinstance(command, str):
command = ' '.join(command)
if echo: print '[cmd]', command
if echo:
print >> sys.stderr, '[cmd]'
print >> sys.stderr, command
print >> sys.stderr
stdout_result = subprocess.check_output(command, shell=True)
if echo: sys.stdout.write(stdout_result)
......
......@@ -87,6 +87,7 @@ iflc2i_atts_cmd = if_atts + [if_cond_flag('allow_llvm_ir_as_input'
# Base command for running pnacl-sz
pnacl_sz_cmd = [os.path.join(pydir, 'run-pnacl-sz.py'),
'--echo-cmd',
'--pnacl-sz', pnacl_sz_tool,
'--pnacl-bin-path', pnaclbinpath]
if 'FORCEASM' in lit_config.params:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment