Author: sebb
Date: Fri Mar 11 10:36:54 2016
New Revision: 1734526

URL: http://svn.apache.org/viewvc?rev=1734526&view=rev
Log:
Allow junit showoutput override

Modified:
    jmeter/trunk/build.xml

Modified: jmeter/trunk/build.xml
URL: 
http://svn.apache.org/viewvc/jmeter/trunk/build.xml?rev=1734526&r1=1734525&r2=1734526&view=diff
==============================================================================
--- jmeter/trunk/build.xml (original)
+++ jmeter/trunk/build.xml Fri Mar 11 10:36:54 2016
@@ -2664,13 +2664,15 @@ run JMeter unless all the JMeter jars ar
     In order to run JUnit, both junit.jar and optional.jar need to be on the 
Ant classpath
     optional.jar is normally found in ANT_HOME/lib
 -->
-  <target name="junit"  depends="compile-tests" description="Run individual 
JUnit test (-Dtest.case=org.apache.jorphan.test.AllTests) 
(-Dtest.format=plain)">
+  <target name="junit"  depends="compile-tests" 
+    description="Run individual JUnit test 
(-Dtest.case=org.apache.jorphan.test.AllTests) (-Dtest.format=plain) 
(-Dtest.showoutput=true)">
   <mkdir dir="reports"/>
   <property name="test.format" value="plain"/>
   <property name="test.case" value="org.apache.jorphan.test.AllTests"/>
+  <property name="test.showoutput" value="false"/>
   <junit fork="true"
    dir="${basedir}/bin"
-   showoutput="false"
+   showoutput="${test.showoutput}"
    printsummary="on">
   <formatter type="${test.format}" usefile="yes"/>
   <formatter type="xml"/>


Reply via email to