# HG changeset patch # User Tom Rodriguez # Date 1414779842 25200 # Node ID bfa20550f0a80c42679fdee058d8864fa5994967 # Parent 2c68474cc893d73cebf7a03c0dc5ef8eb0799185 Suppress menubar for GraalJUnitCore on Mac diff -r 2c68474cc893 -r bfa20550f0a8 mx/mx_graal.py --- 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).