bochs-runner: pass on additional arguments to fail-client
Change-Id: Icae29d819e4cbebc26e441a6daf74f9abafdb3ad
This commit is contained in:
@ -37,8 +37,8 @@ def parseArgs():
|
|||||||
return options, args
|
return options, args
|
||||||
|
|
||||||
def execute(options, args, bochsrc, statedir):
|
def execute(options, args, bochsrc, statedir):
|
||||||
command = "env FAIL_ELF_PATH=%s FAIL_STATEDIR=%s %s -q -f %s" %\
|
command = "env FAIL_ELF_PATH=%s FAIL_STATEDIR=%s %s -q -f %s %s" %\
|
||||||
(options.elf_file, statedir, options.fail_client, bochsrc)
|
(options.elf_file, statedir, options.fail_client, bochsrc, " ".join(args))
|
||||||
print "executing: " + command
|
print "executing: " + command
|
||||||
p = Popen(command, shell=True)
|
p = Popen(command, shell=True)
|
||||||
p.wait()
|
p.wait()
|
||||||
|
|||||||
Reference in New Issue
Block a user