Lines Matching refs:pathname

162     def __init__(self, pathname, identifier=None, outputdir=None,  argument
164 self.pathname = pathname
186 ''' % (self.pathname, self.identifier, self.outputdir, self.timeout, self.user)
286 privcmd = self.update_cmd_privs(self.pathname, self.user)
381 msga = 'Test (%s): %s%s ' % (self.identifier, self.pathname, user)
383 msga = 'Test: %s%s ' % (self.pathname, user)
430 def __init__(self, pathname, argument
433 super(Test, self).__init__(pathname, **kwargs)
460 ''' % (self.pathname, self.identifier, self.outputdir, self.timeout, self.user,
469 files = [self.pre, self.pathname, self.post, self.failsafe]
481 self.pathname, LOG_ERR)
495 test = Cmd(self.pathname, identifier=self.identifier,
507 if len(pretest.pathname):
514 if test.result.result == 'KILLED' and len(failsafe.pathname):
522 if len(posttest.pathname):
530 def __init__(self, pathname, tests=None, **kwargs): argument
531 super(TestGroup, self).__init__(pathname, **kwargs)
553 ''' % (self.pathname, self.identifier, self.outputdir, self.tests,
569 self.pre = os.path.join(self.pathname, self.pre)
571 self.post = os.path.join(self.pathname, self.post)
573 self.post = os.path.join(self.pathname, self.post)
579 if f != self.failsafe and self.pathname != os.path.dirname(f):
582 "directory.\n" % (self.pathname, f), LOG_ERR)
588 (self.pathname, f), LOG_ERR)
594 self.pathname, LOG_ERR)
599 if not verify_file(os.path.join(self.pathname, test)):
603 (test, self.pathname), LOG_ERR)
625 if len(pretest.pathname):
632 test = Cmd(os.path.join(self.pathname, fname), outputdir=odir,
640 if test.result.result == 'KILLED' and len(failsafe.pathname):
648 if len(posttest.pathname):
688 def addtest(self, pathname, options): argument
694 test = Test(pathname)
699 self.tests[pathname] = test
772 pathname = sectiondir
774 pathname = os.path.join(testdir, sectiondir)
776 pathname = sectiondir
778 testgroup = TestGroup(os.path.abspath(pathname),
993 def verify_file(pathname): argument
997 if os.path.isdir(pathname) or os.path.islink(pathname):
1001 script_path = pathname + ext