Skip to content

Commit 66cbee4

Browse files
committed
debug more info
1 parent ddb83f5 commit 66cbee4

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

tests/uutests/src/lib/util.rs

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,14 +86,16 @@ pub fn get_tests_binary() -> String {
8686
triple,
8787
debug_or_release
8888
);
89-
89+
log_info("0= Checking for binary at: {}", &triple_path);
9090
// Check if triple-specific path exists
9191
if Path::new(&triple_path).exists() {
9292
return triple_path;
9393
}
9494

9595
// Fallback to regular path
96-
return format!("{}/{}/coreutils", target_dir.display(), debug_or_release);
96+
let tmp = format!("{}/{}/coreutils", target_dir.display(), debug_or_release);
97+
log_info("1= tmp0", &tmp);
98+
return tmp;
9799
}
98100
target_dir.pop();
99101
target_dir.pop();
@@ -116,13 +118,16 @@ pub fn get_tests_binary() -> String {
116118
);
117119

118120
if Path::new(&triple_path).exists() {
121+
log_info("2= triple_path", &triple_path);
119122
triple_path
120123
} else {
121-
format!(
124+
let tmp = format!(
122125
"{}/target/{}/coreutils",
123126
manifest_dir.display(),
124127
debug_or_release
125-
)
128+
);
129+
log_info("3= tmp", &tmp);
130+
tmp
126131
}
127132
})
128133
}

0 commit comments

Comments
 (0)