def do_apitrace(self, args):
cmd = [self.options.apitrace] + args[1:]
+ print " ".join(cmd)
proc = subprocess.Popen(cmd, stdout = subprocess.PIPE)
self.output = proc.communicate()[0]
line = script.readline()
+ # Exit loop on EOF
if (line == ''):
break
cmd = line.split()
- if (len(cmd) == 0):
+ # Ignore blank lines and comments
+ if (len(cmd) == 0 or line[0] == '#'):
continue
if (cmd[0] == 'EXPECT_FAILURE:'):