diff --git a/launchable/commands/subset.py b/launchable/commands/subset.py index 6254493c6..7963b1b07 100644 --- a/launchable/commands/subset.py +++ b/launchable/commands/subset.py @@ -157,9 +157,10 @@ def default_path_builder(file_name): return file_name path_builder = default_path_builder - for t in glob.iglob(join(base, pattern), recursive=True): - if path_builder: - path = path_builder(t[len(base)+1:]) + for b in glob.iglob(base): + for t in glob.iglob(join(b, pattern), recursive=True): + if path_builder: + path = path_builder(t[len(b)+1:]) if path: self.test_paths.append(self.to_test_path(path))