Added stripping current directory prefixes when comparing suite path names
This commit is contained in:
parent
01dbfdaf4f
commit
be3cd464fd
1 changed files with 6 additions and 0 deletions
|
|
@ -218,6 +218,12 @@ impl StepDescription {
|
|||
}
|
||||
} else {
|
||||
for path in paths {
|
||||
// strip CurDir prefix if present
|
||||
let path = match path.strip_prefix(".") {
|
||||
Ok(p) => p,
|
||||
Err(_) => path,
|
||||
};
|
||||
|
||||
let mut attempted_run = false;
|
||||
for (desc, should_run) in v.iter().zip(&should_runs) {
|
||||
if let Some(suite) = should_run.is_suite_path(path) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue