Lines Matching +full:- +full:- +full:workdir
11 in-line data, here-documents), allowing tests to be completely self-contained.
43 # Copyright 2002-2003 Vladimir Prus.
44 # Copyright 2002-2003 Dave Abrahams.
88 if file[-10:] == "TestCmd.py":
197 return MatchError("Mismatch at line %d\n- %s\n+ %s\n" %
200 return MatchError("Missing lines at line %d\n- %s" %
201 (len(lines), "\n- ".join(matches[len(lines):])))
221 return MatchError("Mismatch at line %d\n- %s\n+ %s\n" %
224 return MatchError("Missing lines at line %d\n- %s" %
225 (len(lines), "\n- ".join(res[len(lines):])))
233 def __init__(self, description=None, program=None, workdir=None, argument
265 self.workdir_set(workdir)
306 self.workdir = None
389 file = os.path.join(self.workdir, file)
412 chdir = self.workdir
442 sys.stdout.write(self._stdout[-1])
443 sys.stderr.write(self._stderr[-1])
457 run -= 1
474 run -= 1
498 new = os.path.join(self.workdir, sub)
518 file = os.path.join(self.workdir, file)
532 self.workdir = path
545 # We would like to set self.workdir like this:
546 # self.workdir = path
552 self.workdir = os.getcwd()
555 self.workdir = None
564 return os.path.join(self.workdir, *tuple(args))
606 file = os.path.join(self.workdir, file)