Home | History | Annotate | Download | only in lit

Lines Matching refs:cwd

28     """Mutable shell environment containing things like CWD and env vars.
30 Environment variables are not implemented, but cwd tracking is.
33 def __init__(self, cwd, env):
34 self.cwd = cwd
182 # Update the cwd in the parent environment.
184 shenv.cwd = newdir
186 shenv.cwd = os.path.join(shenv.cwd, newdir)
206 cmd_shenv = ShellEnvironment(shenv.cwd, shenv.env)
266 # Make sure relative paths are relative to the cwd.
267 redir_filename = os.path.join(cmd_shenv.cwd, r[0])
299 # For paths relative to cwd, use the cwd of the shell environment.
301 exe_in_cwd = os.path.join(cmd_shenv.cwd, args[0])
319 procs.append(subprocess.Popen(args, cwd=cmd_shenv.cwd,
438 def executeScriptInternal(test, litConfig, tmpBase, commands, cwd):
454 shenv = ShellEnvironment(cwd, test.config.environment)
505 def executeScript(test, litConfig, tmpBase, commands, cwd):
539 out, err, exitCode = lit.util.executeCommand(command, cwd=cwd,