You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by se...@apache.org on 2016/03/10 20:15:02 UTC

svn commit: r1734446 - /jmeter/trunk/build.xml

Author: sebb
Date: Thu Mar 10 19:15:01 2016
New Revision: 1734446

URL: http://svn.apache.org/viewvc?rev=1734446&view=rev
Log:
Allow headless to be passed in to junit tests

Modified:
    jmeter/trunk/build.xml

Modified: jmeter/trunk/build.xml
URL: http://svn.apache.org/viewvc/jmeter/trunk/build.xml?rev=1734446&r1=1734445&r2=1734446&view=diff
==============================================================================
--- jmeter/trunk/build.xml (original)
+++ jmeter/trunk/build.xml Thu Mar 10 19:15:01 2016
@@ -2675,6 +2675,8 @@ run JMeter unless all the JMeter jars ar
   <formatter type="${test.format}" usefile="yes"/>
   <formatter type="xml"/>
   <jvmarg value="-Dfile.encoding=${test.encoding}"/>
+  <!-- Allow headless to be passed in -->
+  <jvmarg value="-Djava.awt.headless=${java.awt.headless}"/>
       <classpath>
         <fileset dir="${dest.jar}" includes="*.jar"/>
         <pathelement location="${build.test}"/>