We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 21b4a9c commit 38f59a3Copy full SHA for 38f59a3
src/bootstrap/util.rs
@@ -282,9 +282,10 @@ pub fn is_valid_test_suite_arg<'a, P: AsRef<Path>>(
282
if !path.starts_with(suite_path) {
283
return None;
284
}
285
- let exists = path.is_dir() || path.is_file();
+ let abs_path = builder.src.join(path);
286
+ let exists = abs_path.is_dir() || abs_path.is_file();
287
if !exists {
- if let Some(p) = path.to_str() {
288
+ if let Some(p) = abs_path.to_str() {
289
builder.info(&format!("Warning: Skipping \"{}\": not a regular file or directory", p));
290
291
0 commit comments