Skip to content

Commit 54ed385

Browse files
committed
Extend integration test
1 parent f87e442 commit 54ed385

File tree

1 file changed

+14
-16
lines changed

1 file changed

+14
-16
lines changed

tests/integration_test.rs

+14-16
Original file line numberDiff line numberDiff line change
@@ -64,31 +64,29 @@ async fn test_simple_python(options: Options) {
6464
assert!(unpack_result.is_ok());
6565
assert!(activate_file.is_file());
6666
assert!(activate_file.exists());
67-
let required_fs_objects = if cfg!(windows) {
68-
vec![
69-
"conda-meta",
67+
let mut required_fs_objects = vec!["conda-meta/history", "include", "share"];
68+
if cfg!(windows) {
69+
required_fs_objects.extend(vec![
7070
"DLLs",
7171
"etc",
72-
"include",
7372
"Lib",
7473
"Library",
7574
"libs",
7675
"Scripts",
77-
"share",
7876
"Tools",
7977
"python.exe",
80-
]
78+
"conda-meta/openssl-3.3.0-h2466b09_3.json",
79+
])
8180
} else {
82-
vec![
83-
"bin/python",
84-
"conda-meta",
85-
"include",
86-
"lib",
87-
"man",
88-
"share",
89-
"ssl",
90-
]
91-
};
81+
required_fs_objects.extend(vec!["bin/python", "lib", "man", "ssl"]);
82+
if cfg!(target_os = "macos") {
83+
// osx-arm64
84+
required_fs_objects.push("conda-meta/openssl-3.3.0-hfb2fe0b_3.json");
85+
} else {
86+
// linux-64
87+
required_fs_objects.push("conda-meta/openssl-3.3.0-h4ab18f5_3.json");
88+
}
89+
}
9290
required_fs_objects
9391
.iter()
9492
.map(|dir| env_dir.join(dir))

0 commit comments

Comments
 (0)