Lines Matching refs:parser
155 parser = configparser.SafeConfigParser()
156 parser.read(path)
163 self.command = parser.get('config', 'command')
164 self.args = parser.get('config', 'args')
167 self.ret = parser.get('config', 'ret')
171 self.test_ret = parser.getboolean('config', 'test_ret', fallback=False)
174 self.arch = parser.get('config', 'arch')
179 self.auxv = parser.get('config', 'auxv', fallback=None)
180 self.kernel_since = parse_version(parser.get('config', 'kernel_since', fallback=None))
181 self.kernel_until = parse_version(parser.get('config', 'kernel_until', fallback=None))
423 parser = optparse.OptionParser(usage=USAGE)
425 parser.add_option("-t", "--test",
427 parser.add_option("-d", "--test-dir",
429 parser.add_option("-p", "--perf",
431 parser.add_option("-v", "--verbose",
434 options, args = parser.parse_args()
436 parser.error('FAILED wrong arguments %s' % ' '.join(args))