test: Fix test binary resolution for llvm-cov
This commit is contained in:
1 parent
cf5b40ceb6
commit
a87e37cb53
2 files changed
+6
-13
No files matched your search
@@ -44,10 +44,9 @@ fn read_message(stdout: &mut std::process::ChildStdout) -> Option<Value> {
|
||||
#[test]
|
||||
fn test_mcp_initialization_and_tools_list() {
|
||||
// Determine the path to the built binary.
|
||||
// cargo test automatically sets CARGO_BIN_EXE_<name> for binary targets!
|
||||
let exe_path = env!("CARGO_BIN_EXE_mcp-memory-win-nvim");
|
||||
|
||||
let mut child = Command::new(exe_path)
|
||||
let nvim_exe = env!("CARGO_BIN_EXE_mcp-memory-win-nvim");
|
||||
|
||||
let mut child = Command::new(nvim_exe)
|
||||
.stdin(Stdio::piped())
|
||||
.stdout(Stdio::piped())
|
||||
.stderr(Stdio::piped())
|
||||
|
||||
Reference in new issue
Block a user