def all_port_names(self, platform=None): """Return a list of all valid, fully-specified, "real" port names. This is the list of directories that are used as actual baseline_paths() by real ports. This does not include any "fake" names like "test" or "mock-mac", and it does not include any directories that are not. If platform is not specified, we will glob-match all ports""" platform = platform or '*' return fnmatch.filter(builders.all_port_names(), platform)