Lines Matching refs:path
193 f.write(4*' '+'#line %d "%s"\n' % (self.code_lineno, self.suite.path))
238 cmd = exec + ['./%s.test' % self.suite.path,
244 disk = self.suite.path + '.disk'
269 '-ex', 'b %s:%d' % (self.suite.path, self.code_lineno),
384 def __init__(self, path, classes=[TestCase], defines={}, argument
386 self.name = os.path.basename(path)
390 self.toml = path
391 self.path = args['build_dir'] + '/' + path
393 self.toml = path
394 self.path = path
510 tf = open(self.path + '.test.tc', 'w')
513 tf.write('#line %d "%s"\n' % (self.code_lineno, self.path))
519 tfs[case.in_] = open(self.path+'.'+
558 with open(self.path + '.mk', 'w') as mk:
559 mk.write(RULES.replace(4*' ', '\t') % dict(path=self.path))
565 path=self.path))
571 % (self.path, k, v))
573 for path in tfs:
574 if path is None:
576 self.path+'.test.c',
578 self.path+'.test.tc'))
581 self.path+'.'+path.replace('/', '.'),
583 path,
584 self.path+'.'+re.sub('(\.c)?$', '.tc',
585 path.replace('/', '.'))))
588 self.makefile = self.path + '.mk'
589 self.target = self.path + '.test'
646 if os.path.isdir(testpath):
648 elif os.path.isfile(testpath):
656 for path in glob.glob(testpath):
657 suites.append(TestSuite(path, classes, defines, filter, **args))
710 path=m.group(1), line=line, lineno=lineno,
755 perm=perm, path=perm.suite.path, lineno=perm.lineno,
779 [suite.path + '.info' for suite in suites
855 a path to a *.info file to accumulate coverage info into.")