Skip to content

Commit c7d981a

Browse files
committed
Try fixing
1 parent 7ba4a13 commit c7d981a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tests/src/lib.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,11 @@ mod integration {
143143
path.pop();
144144
path.push("target");
145145
path.push("debug");
146-
path.push("libtests");
146+
path.push(if std::env::consts::DLL_EXTENSION == "dll" {
147+
"tests"
148+
} else {
149+
"libtests"
150+
});
147151
path.set_extension(std::env::consts::DLL_EXTENSION);
148152
let output = Command::new("php")
149153
.arg(format!("-dextension={}", path.to_str().unwrap()))

0 commit comments

Comments
 (0)