jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fschumac...@apache.org
Subject svn commit: r1775332 - /jmeter/trunk/build.xml
Date Tue, 20 Dec 2016 18:04:01 GMT
Author: fschumacher
Date: Tue Dec 20 18:04:00 2016
New Revision: 1775332

URL: http://svn.apache.org/viewvc?rev=1775332&view=rev
Log:
Properties can be set only once in ant. Re-enable jacoco test run with agent.

Modified:
    jmeter/trunk/build.xml

Modified: jmeter/trunk/build.xml
URL: http://svn.apache.org/viewvc/jmeter/trunk/build.xml?rev=1775332&r1=1775331&r2=1775332&view=diff
==============================================================================
--- jmeter/trunk/build.xml (original)
+++ jmeter/trunk/build.xml Tue Dec 20 18:04:00 2016
@@ -118,7 +118,6 @@
   <property name="findbugs.xsldir" value="${findbugs.homedir}/src/xsl" />
   <property name="findbugs.xslname" value="fancy" />
   <property name="findbugs.outName" value="reports/jmeter-fb" />
-  <property name="jacoco_params" value="-Djacoco_dummy=not_empty" />
   <property name="skip.batchtest" value="false" />
   <property name="skip.bug52310" value="false" />
   <property name="skip.test_https" value="false" />
@@ -881,7 +880,7 @@
   description="Compile everything."/>
 
   <target name="run_gui" depends="package" description="Run the JMeter GUI off the jar
files">
-    <condition property="jacoco_params" value="${jacocoagent}run_gui:java(server) org.apache.jmeter.NewDriver">
+    <condition property="jacoco_params" value="${jacocoagent}run_gui:java(server) org.apache.jmeter.NewDriver"
else="-Djacoco_dummy=not_empty">
       <isset property="jacocoagent"/>
     </condition>
     <java classname="org.apache.jmeter.NewDriver" fork="true">
@@ -2437,7 +2436,7 @@ run JMeter unless all the JMeter jars ar
     <condition property="rmi_hostname_option" value="-Djava.rmi.server.hostname=localhost">
       <isset property="rmi_force_localhost"/>
     </condition>
-    <condition property="jacoco_params" value="${jacocoagent}batchtest:daemon:java(server)
-Djava.awt.headless=true org.apache.jmeter.NewDriver -j ${batchtestserver.out}/${batchtestserver.log}
-Dserver_port=${rmi_port}">
+    <condition property="jacoco_params" value="${jacocoagent}batchtest:daemon:java(server)
-Djava.awt.headless=true org.apache.jmeter.NewDriver -j ${batchtestserver.out}/${batchtestserver.log}
-Dserver_port=${rmi_port}" else="-Djacoco_dummy=not_empty">
       <isset property="jacocoagent"/>
     </condition>
     <tstamp>
@@ -2549,7 +2548,7 @@ run JMeter unless all the JMeter jars ar
 
     <deleteworkfiles/>
 
-    <condition property="jacoco_params" value="${jacocoagent}batchtest:java(${taskname})
-Djava.awt.headless=false org.apache.jmeter.NewDriver -ttestfiles/${batchtest.name}.jmx ${remote}">
+    <condition property="jacoco_params" value="${jacocoagent}batchtest:java(${taskname})
-Djava.awt.headless=false org.apache.jmeter.NewDriver -ttestfiles/${batchtest.name}.jmx ${remote}"
else="-Djacoco_dummy=not_empty">
       <isset property="jacocoagent"/>
     </condition>
 
@@ -2750,7 +2749,7 @@ run JMeter unless all the JMeter jars ar
     <delete quiet="true">
       <fileset dir="${basedir}/bin/testfiles" includes="*.jmx.out"/>
     </delete>
-    <condition property="jacoco_params" value="${jacocoagent}_test:java -Djava.awt.headless=${test.headless}
org.apache.jorphan.test.AllTests">
+    <condition property="jacoco_params" value="${jacocoagent}_test:java -Djava.awt.headless=${test.headless}
org.apache.jorphan.test.AllTests" else="-Djacoco_dummy=not_empty">
       <isset property="jacocoagent"/>
     </condition>
     <!-- fork="yes" is required or dir attribute is ignored -->
@@ -2784,7 +2783,7 @@ run JMeter unless all the JMeter jars ar
     <property name="test.format" value="plain"/>
     <property name="test.case" value="org.apache.jorphan.test.AllTests"/>
     <property name="test.showoutput" value="false"/>
-    <condition property="jacoco_params" value="${jacocoagent}run_gui:junit -Djava.awt.headless=${java.awt.headless}
org.apache.jmeter.NewDriver">
+    <condition property="jacoco_params" value="${jacocoagent}run_gui:junit -Djava.awt.headless=${java.awt.headless}
org.apache.jmeter.NewDriver" else="-Djacoco_dummy=not_empty">
       <isset property="jacocoagent"/>
     </condition>
     <junit fork="true"



Mime
View raw message