Mercurial > hg > truffle
changeset 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 | 18c8ef7df8b5 |
children | 2395c0fc5a19 |
files | mx/mx_graal.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
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)