Skip to content

Commit be3cd46

Browse files
committed
Added stripping current directory prefixes when comparing suite path names
1 parent 01dbfda commit be3cd46

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/bootstrap/builder.rs

+6
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,12 @@ impl StepDescription {
218218
}
219219
} else {
220220
for path in paths {
221+
// strip CurDir prefix if present
222+
let path = match path.strip_prefix(".") {
223+
Ok(p) => p,
224+
Err(_) => path,
225+
};
226+
221227
let mut attempted_run = false;
222228
for (desc, should_run) in v.iter().zip(&should_runs) {
223229
if let Some(suite) = should_run.is_suite_path(path) {

0 commit comments

Comments
 (0)