Mercurial > hg > truffle
changeset 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 | 2c68474cc893 |
children | 40074f6ac788 |
files | mx/mx_graal.py |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
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).