def _build_commands(self): def mock_local_env(env, line): if env: eq = shell_literal('=') env_vars = [jbos(safe_str(name), eq, safe_str(value)) for name, value in env.items()] else: env_vars = [] return env_vars + wshell.escape_line(line, listify=True) return tests._build_commands( self.build['tests'].tests, lambda x: ninja.Writer(x, wshell), wshell, mock_local_env )
def _build_commands(self): return tests._build_commands( self.build['tests'].tests, ninja.Writer, pshell, pshell.local_env )
def _build_commands(self): return tests._build_commands(self.build['tests'].tests, lambda x: make.Writer(x, self.path_vars), pshell.local_env)