Mercurial > hg > graal-jvmci-8
changeset 15326:6e1d5f3e4615
mx: support comments in whitelist
author | Bernhard Urban <bernhard.urban@jku.at> |
---|---|
date | Wed, 23 Apr 2014 14:44:24 +0200 |
parents | 25ce2866f105 |
children | 25633b639fd7 |
files | mx/mx_graal.py test/whitelist_baseline.txt |
diffstat | 2 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/mx/mx_graal.py Wed Apr 23 13:24:09 2014 +0200 +++ b/mx/mx_graal.py Wed Apr 23 14:44:24 2014 +0200 @@ -966,7 +966,7 @@ if parsed_args.whitelist: try: with open(join(_graal_home, parsed_args.whitelist)) as fp: - whitelist = [l.rstrip() for l in fp.readlines()] + whitelist = [l.rstrip() for l in fp.readlines() if not l.startswith('#')] except IOError: mx.log('warning: could not read whitelist: ' + parsed_args.whitelist)
--- a/test/whitelist_baseline.txt Wed Apr 23 13:24:09 2014 +0200 +++ b/test/whitelist_baseline.txt Wed Apr 23 14:44:24 2014 +0200 @@ -1,7 +1,7 @@ -com.oracle.graal.jtt.loop.Loop03 -com.oracle.graal.jtt.loop.Loop04 -com.oracle.graal.jtt.loop.Loop08 -com.oracle.graal.jtt.loop.Loop11 +# com.oracle.graal.jtt.loop.Loop03 +# com.oracle.graal.jtt.loop.Loop04 +# com.oracle.graal.jtt.loop.Loop08 +# com.oracle.graal.jtt.loop.Loop11 com.oracle.graal.jtt.bytecode.BC_iadd com.oracle.graal.jtt.bytecode.BC_iadd2 com.oracle.graal.jtt.bytecode.BC_iadd3