Mercurial > hg > graal-jvmci-8
diff mx/mx_graal.py @ 18224:bfa20550f0a8
Suppress menubar for GraalJUnitCore on Mac
author | Tom Rodriguez <tom.rodriguez@oracle.com> |
---|---|
date | Fri, 31 Oct 2014 11:24:02 -0700 |
parents | 8588db09f5e9 |
children | 6924bb0badc9 |
line wrap: on
line diff
--- a/mx/mx_graal.py Fri Oct 31 10:44:05 2014 +0100 +++ b/mx/mx_graal.py Fri Oct 31 11:24:02 2014 -0700 @@ -1182,6 +1182,9 @@ cp = os.pathsep.join([e for e in cp.split(os.pathsep) if e not in excluded]) vmArgs = ['-XX:-UseGraalClassLoader'] + vmArgs + # suppress menubar and dock when running on Mac + vmArgs = ['-Djava.awt.headless=true'] + vmArgs + if len(testclasses) == 1: # Execute Junit directly when one test is being run. This simplifies # replaying the VM execution in a native debugger (e.g., gdb).