mirror of
https://github.com/openai/codex.git
synced 2026-05-29 23:40:29 +00:00
Merge ebddba6119 into sapling-pr-archive-bolinfest
This commit is contained in:
@@ -383,9 +383,16 @@ impl TestCodexBuilder {
|
||||
.exec_server_url
|
||||
.clone()
|
||||
.or_else(|| test_env.exec_server_url.clone());
|
||||
#[cfg(target_os = "linux")]
|
||||
let codex_linux_sandbox_exe = Some(
|
||||
crate::find_codex_linux_sandbox_exe()
|
||||
.context("should find binary for codex-linux-sandbox")?,
|
||||
);
|
||||
#[cfg(not(target_os = "linux"))]
|
||||
let codex_linux_sandbox_exe = None;
|
||||
let local_runtime_paths = codex_exec_server::ExecServerRuntimePaths::new(
|
||||
std::env::current_exe()?,
|
||||
/*codex_linux_sandbox_exe*/ None,
|
||||
codex_linux_sandbox_exe,
|
||||
)?;
|
||||
let environment_manager = Arc::new(
|
||||
codex_exec_server::EnvironmentManager::create_for_tests(
|
||||
|
||||
Reference in New Issue
Block a user