Let "all" be an alias for "*" in patterns, fix output bug on non-command execution, make clean now removes the build dir

This commit is contained in:
Michael DeHaan
2012-03-02 19:44:50 -05:00
parent c8b1bbc7ea
commit e6a1acf756
4 changed files with 4 additions and 0 deletions

View File

@@ -121,6 +121,8 @@ class Runner(object):
subpatterns = pattern.split(";")
for subpattern in subpatterns:
# the pattern could be a real glob
if subpattern == 'all':
return True
if fnmatch.fnmatch(host_name, subpattern):
return True
# or it could be a literal group name instead