You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by ca...@apache.org on 2005/08/19 00:23:53 UTC

cvs commit: logging-log4j/tests build.xml

carnold     2005/08/18 15:23:53

  Modified:    tests    Tag: v1_2-branch build.xml
  Log:
  Bug 32722: Extend -Dhaltonfailure=[yes\no] introduced for clover to all junit tests
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.16.2.11 +23 -23    logging-log4j/tests/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/logging-log4j/tests/build.xml,v
  retrieving revision 1.16.2.10
  retrieving revision 1.16.2.11
  diff -u -r1.16.2.10 -r1.16.2.11
  --- build.xml	22 Jul 2005 20:09:23 -0000	1.16.2.10
  +++ build.xml	18 Aug 2005 22:23:53 -0000	1.16.2.11
  @@ -135,7 +135,7 @@
     <!-- ============== Regression and Unit Tests follow ================= -->  
     <!-- ================================================================= -->
       <target name="Core" depends="build">
  -      <junit printsummary="yes" fork="yes" haltonfailure="yes">
  +      <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}">
           <classpath refid="tests.classpath"/>
           <formatter type="plain" usefile="false"/>
           <test name="org.apache.log4j.CoreTestSuite" />
  @@ -144,7 +144,7 @@
   
   
     <target name="Minimum" depends="build">
  -    <junit printsummary="yes" fork="yes" haltonfailure="yes">
  +    <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}">
         <classpath refid="tests.classpath"/>
         <formatter type="plain" usefile="false"/>
         <test name="org.apache.log4j.MinimumTestCase" />
  @@ -152,7 +152,7 @@
     </target>
   
     <target name="Logger" depends="build">
  -    <junit printsummary="yes" fork="yes" haltonfailure="yes">
  +    <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}">
         <classpath refid="tests.classpath"/>
         <formatter type="plain" usefile="false"/>
         <test name="org.apache.log4j.LoggerTestCase" />
  @@ -160,7 +160,7 @@
     </target>
   
     <target name="PatternLayout" depends="build">
  -    <junit printsummary="yes" fork="yes" haltonfailure="yes">
  +    <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}">
         <classpath refid="tests.classpath"/>
         <formatter type="plain" usefile="false"/>
         <test name="org.apache.log4j.PatternLayoutTestCase" />
  @@ -169,7 +169,7 @@
   
     <target name="HierarchyThreshold" depends="build">
       <delete file="output/temp"/>
  -    <junit printsummary="yes" fork="yes" haltonfailure="yes">
  +    <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}">
         <classpath refid="tests.classpath"/>
         <formatter type="plain" usefile="false"/>
         <test name="org.apache.log4j.HierarchyThresholdTestCase" />
  @@ -177,7 +177,7 @@
     </target>
   
     <target name="DOM" depends="build">
  -    <junit printsummary="yes" fork="yes" haltonfailure="yes">
  +    <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}">
         <classpath refid="tests.classpath"/>
         <formatter type="plain" usefile="false"/>
         <test name="org.apache.log4j.xml.DOMTestCase" />
  @@ -185,7 +185,7 @@
     </target>
   
     <target name="CustomLevel" depends="build">
  -    <junit printsummary="yes" fork="yes" haltonfailure="yes">
  +    <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}">
         <classpath refid="tests.classpath"/>
         <formatter type="plain" usefile="false" />
         <test name="org.apache.log4j.xml.CustomLevelTestCase" />
  @@ -193,7 +193,7 @@
     </target>
   
     <target name="CustomLogger" depends="build">
  -    <junit printsummary="yes" fork="yes" haltonfailure="yes">
  +    <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}">
         <classpath refid="tests.classpath"/>
         <formatter type="plain" usefile="false" />
         <test name="org.apache.log4j.customLogger.XLoggerTestCase" />
  @@ -205,14 +205,14 @@
       <delete file="classes/log4j.xml"/>
       <delete file="classes/log4j.properties"/>
   
  -    <junit printsummary="yes" fork="yes" haltonfailure="yes">
  +    <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}">
         <classpath refid="tests.classpath"/>
         <formatter type="plain" usefile="false"/>
         <test fork="true" name="org.apache.log4j.defaultInit.TestCase1" />
       </junit>
   
       <copy file="input/xml/defaultInit.xml" tofile="classes/log4j.xml"/>
  -    <junit printsummary="yes" fork="yes" haltonfailure="yes">
  +    <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}">
         <classpath refid="tests.classpath"/>
         <formatter type="plain" usefile="false"/>
         <test fork="true" name="org.apache.log4j.defaultInit.TestCase2" />      
  @@ -221,7 +221,7 @@
   
       <!-- test handling of log4j.defaultInitOverride system property -->
       <copy file="input/xml/defaultInit.xml" tofile="classes/log4j.xml"/>
  -    <junit printsummary="yes" fork="yes" haltonfailure="yes">
  +    <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}">
         <jvmarg value="-Dlog4j.defaultInitOverride=true"/>
         <classpath refid="tests.classpath"/>
         <formatter type="plain" usefile="false"/>
  @@ -231,7 +231,7 @@
   
       <!-- test default initialization from log4j.xml -->
       <copy file="input/defaultInit3.properties" tofile="classes/log4j.properties"/>
  -    <junit printsummary="yes" fork="yes" haltonfailure="yes">
  +    <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}">
         <classpath refid="tests.classpath"/>
         <formatter type="plain" usefile="false"/>
         <test fork="true" name="org.apache.log4j.defaultInit.TestCase3" />      
  @@ -241,7 +241,7 @@
       <!-- test default initialization from log4j.properties -->
       <copy file="input/xml/defaultInit.xml" tofile="classes/log4j.xml"/>
       <copy file="input/defaultInit3.properties" tofile="classes/log4j.properties"/>
  -    <junit printsummary="yes" fork="yes" haltonfailure="yes">
  +    <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}">
         <classpath refid="tests.classpath"/>
         <formatter type="plain" usefile="false"/>
         <test fork="true" name="org.apache.log4j.defaultInit.TestCase4" />      
  @@ -270,7 +270,7 @@
     </target>
   
     <target name="XMLLayout" depends="build">
  -    <junit printsummary="yes" fork="yes" haltonfailure="yes">
  +    <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}">
         <classpath refid="tests.classpath"/>
         <formatter type="plain" usefile="false" />
         <test name="org.apache.log4j.xml.XMLLayoutTestCase" />
  @@ -278,7 +278,7 @@
     </target>
   
     <target name="AsyncAppender" depends="build">
  -    <junit printsummary="yes" fork="yes" haltonfailure="yes">
  +    <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}">
         <classpath refid="tests.classpath"/>
         <formatter type="plain" usefile="false" />
         <test name="org.apache.log4j.AsyncAppenderTestCase" />
  @@ -286,7 +286,7 @@
     </target>
   
     <target name="LevelMatchFilter" depends="build">
  -    <junit printsummary="yes" fork="yes" haltonfailure="yes">
  +    <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}">
         <classpath refid="tests.classpath"/>
         <formatter type="plain" usefile="false"/>
         <test name="org.apache.log4j.varia.LevelMatchFilterTestCase" />
  @@ -294,7 +294,7 @@
     </target>
   
     <target name="ErrorHandler" depends="build">
  -    <junit printsummary="yes" fork="yes" haltonfailure="yes">
  +    <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}">
         <classpath refid="tests.classpath"/>
         <formatter type="plain" usefile="false" />
         <test name="org.apache.log4j.varia.ErrorHandlerTestCase" />
  @@ -302,7 +302,7 @@
     </target>
   
     <target name="OptionConverter" depends="build">
  -    <junit printsummary="yes" fork="yes" haltonfailure="yes">
  +    <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}">
         <classpath refid="tests.classpath"/>
         <formatter type="plain" usefile="false"/>
         <test name="org.apache.log4j.helpers.OptionConverterTestCase" />
  @@ -310,7 +310,7 @@
     </target>
   
     <target name="BoundedFIFO" depends="build">
  -    <junit printsummary="yes" fork="yes" haltonfailure="yes">
  +    <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}">
         <classpath refid="tests.classpath"/>
         <formatter type="plain" usefile="false"/>
         <test name="org.apache.log4j.helpers.BoundedFIFOTestCase" />
  @@ -318,7 +318,7 @@
     </target>
   
     <target name="CyclicBuffer" depends="build">
  -    <junit printsummary="yes" fork="yes" haltonfailure="yes">
  +    <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}">
         <classpath refid="tests.classpath"/>
         <formatter type="plain" usefile="false"/>
         <test name="org.apache.log4j.helpers.CyclicBufferTestCase" />
  @@ -326,7 +326,7 @@
     </target>
   
     <target name="PatternParser" depends="build">
  -    <junit printsummary="yes" fork="yes" haltonfailure="yes">
  +    <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}">
         <classpath refid="tests.classpath"/>
         <formatter type="plain" usefile="false"/>
         <test name="org.apache.log4j.helpers.PatternParserTestCase" />
  @@ -335,7 +335,7 @@
   
   
     <target name="OR" depends="build">
  -    <junit printsummary="yes" fork="yes" haltonfailure="yes">
  +    <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}">
         <classpath refid="tests.classpath"/>
         <formatter type="plain" usefile="false"/>
         <test name="org.apache.log4j.or.ORTestCase" />
  @@ -343,7 +343,7 @@
     </target>
   
     <target name="DRFA" depends="build">
  -    <junit printsummary="yes" fork="yes" haltonfailure="yes">
  +    <junit printsummary="yes" fork="yes" haltonfailure="${haltonfailure}">
         <classpath refid="tests.classpath"/>
         <formatter type="plain" usefile="false"/>
         <test name="org.apache.log4j.DRFATestCase" />
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org