Mercurial > hg > graal-jvmci-8
diff mx/mx_graal.py @ 16306:21c3c233e81a
mx_graal.py unittest make testname match with wildcards *
author | Stefan Anzinger <stefan.anzinger@gmail.com> |
---|---|
date | Thu, 24 Apr 2014 07:25:02 +0200 |
parents | 12f2b3baa163 |
children | 151fe6b1e511 |
line wrap: on
line diff
--- 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)