# HG changeset patch # User Stefan Anzinger # Date 1398317102 -7200 # Node ID 21c3c233e81a3866df4c5b410cae25be0c1cf0e4 # Parent 18c8ef7df8b542fb61c833e88242bb5c401518cd mx_graal.py unittest make testname match with wildcards * diff -r 18c8ef7df8b5 -r 21c3c233e81a mx/mx_graal.py --- a/mx/mx_graal.py Thu Apr 24 07:21:24 2014 +0200 +++ b/mx/mx_graal.py Thu Apr 24 07:25:02 2014 +0200 @@ -30,6 +30,7 @@ from os.path import join, exists, dirname, basename, getmtime from argparse import ArgumentParser, RawDescriptionHelpFormatter, REMAINDER from outputparser import OutputParser, ValuesMatcher +from fnmatch import fnmatch import mx import xml.dom.minidom import sanitycheck @@ -852,7 +853,7 @@ for t in tests: found = False for c, p in candidates.iteritems(): - if t == c: + if fnmatch(c, t): found = True classes.append(c) projs.add(p.name)