295781 Allow some builds to "pass" even if failed tests
diff --git a/releng.wtpbuilder/distribution/patches3.build/build.xml b/releng.wtpbuilder/distribution/patches3.build/build.xml
index b8e1d3e..11e7ff0 100644
--- a/releng.wtpbuilder/distribution/patches3.build/build.xml
+++ b/releng.wtpbuilder/distribution/patches3.build/build.xml
@@ -5,7 +5,6 @@
         unless="wtp.builder.home"/>
     <property
         file="${wtp.builder.home}/build.properties"/>
-
     <property
         environment="env"/>
 
@@ -25,13 +24,17 @@
         depends="getBaseBuilder">
         <dirname
             file="${ant.file}"
-            property="distribution.wtp.build.dir" />
+            property="distribution.wtp.build.dir"/>
         <property
             name="buildTargets"
-            value="${wtp.builder.home}/scripts/build/runbuild.xml" />
-
-        
-        <!-- for this distribution, dependencies come from releng -->
+            value="${wtp.builder.home}/scripts/build/runbuild.xml"/>
+        <!--
+            if not otherwise set, assume its a legacy case that did not
+            use this
+        -->
+        <property
+            name="env.DEP_DIR"
+            value=""/>
         <property
             name="dependency.properties"
             value="${buildDirectory}/maps/${env.RELENG}${env.DEP_DIR}/maps/dependencies.properties"/>
@@ -39,36 +42,34 @@
         <!-- calling label.xml to createg label.properties file -->
         <ant
             antfile="${wtp.builder.home}/scripts/build/label.xml"/>
-
         <echo
             level="info"
             message="invoking buildTargets: ${buildTargets} to build for each component"/>
-
-        <ant antfile="${buildTargets}">
+        <ant
+            antfile="${buildTargets}">
             <property
                 name="component"
-                value="wtp-patches3" />
+                value="wtp-patches3"/>
         </ant>
-        <ant antfile="${buildTargets}">
+        <ant
+            antfile="${buildTargets}">
             <property
                 name="component"
-                value="wtp-patches3-tests" />
+                value="wtp-patches3-tests"/>
         </ant>
     </target>
-
     <target
         name="getBaseBuilder"
         if="eclipse.builder.fetch">
         <dirname
             file="${ant.file}"
-            property="wtbuilder.dir" />
+            property="wtbuilder.dir"/>
         <property
             name="buildTargets"
-            value="${wtp.builder.home}/scripts/build/runbuild.xml" />
+            value="${wtp.builder.home}/scripts/build/runbuild.xml"/>
         <!-- delete dir="${pde.builder.path}" failonerror="false"/ -->
         <ant
             antfile="${buildTargets}"
-            target="getBaseBuilder" />
+            target="getBaseBuilder"/>
     </target>
-
-</project>
+</project>
\ No newline at end of file