def capture(self):
    cmds = self.get_infer_commands(util.get_build_output(self.build_cmd))
    clean_cmd = ('%s clean' % self.build_cmd[0])
    return util.run_compilation_commands(cmds, clean_cmd)
def capture(self):
    cmds = self.get_infer_commands(util.get_build_output(self.build_cmd))
    clean_cmd = ('%s clean' % self.build_cmd[0])
    return util.run_compilation_commands(cmds, clean_cmd)