fix: keep isolated backend tests hermetic and disk-backed

This commit is contained in:
archipelago
2026-10-09 09:09:16 -04:00
parent e2d926f5e0
commit 846b316d72
4 changed files with 20 additions and 10 deletions
+3 -3
View File
@@ -119,9 +119,9 @@ fn apps_dirs() -> Vec<PathBuf> {
if let Some(root) = std::env::var_os("ARCHIPELAGO_APPS_DIR") {
dirs.push(root.into());
}
if let Ok(manifest_dir) = std::env::var("CARGO_MANIFEST_DIR") {
dirs.push(PathBuf::from(manifest_dir).join("../../apps"));
}
// Preserve source discovery after the prebuilt test binary moves into its
// networkless execution container.
dirs.push(PathBuf::from(env!("CARGO_MANIFEST_DIR")).join("../../apps"));
dirs.extend([
PathBuf::from("apps"),
PathBuf::from("/opt/archipelago/apps"),