From be3cd464fd3942292a296ea2e49aa03b571d5897 Mon Sep 17 00:00:00 2001 From: Steven Laabs Date: Thu, 21 Jun 2018 17:48:24 -0500 Subject: Added stripping current directory prefixes when comparing suite path names --- src/bootstrap/builder.rs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/bootstrap/builder.rs') diff --git a/src/bootstrap/builder.rs b/src/bootstrap/builder.rs index 08bdff364f8..fa2440e27d0 100644 --- a/src/bootstrap/builder.rs +++ b/src/bootstrap/builder.rs @@ -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) { -- cgit 1.4.1-3-g733a5