You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@etch.apache.org by ve...@apache.org on 2012/08/02 17:05:59 UTC

svn commit: r1368510 - /incubator/etch/trunk/binding-cpp/runtime/build.xml

Author: veithm
Date: Thu Aug  2 15:05:59 2012
New Revision: 1368510

URL: http://svn.apache.org/viewvc?rev=1368510&view=rev
Log:
ETCH-237 Added FailonError attribute to exec task

Change-Id: I0ef92fd5f940179ece0cccd236931b69379419a6

Modified:
    incubator/etch/trunk/binding-cpp/runtime/build.xml

Modified: incubator/etch/trunk/binding-cpp/runtime/build.xml
URL: http://svn.apache.org/viewvc/incubator/etch/trunk/binding-cpp/runtime/build.xml?rev=1368510&r1=1368509&r2=1368510&view=diff
==============================================================================
--- incubator/etch/trunk/binding-cpp/runtime/build.xml (original)
+++ incubator/etch/trunk/binding-cpp/runtime/build.xml Thu Aug  2 15:05:59 2012
@@ -37,9 +37,9 @@
     <!-- CLEAN TARGET -->
     <target name="do-clean">
         <delete dir="${target}" />
-	<delete dir="${proj}/lib/capu/3psw/libs" />
-	<delete dir="${proj}/lib/capu/build" />
-	<delete dir="${proj}/lib/capu/deliverable" />
+    <delete dir="${proj}/lib/capu/3psw/libs" />
+    <delete dir="${proj}/lib/capu/build" />
+    <delete dir="${proj}/lib/capu/deliverable" />
     </target>
 
     <!-- BUILD TARGET -->
@@ -101,21 +101,21 @@
         <!-- Run CAPU Unit Tests on Windows-->
         <property name="executable-full-path"
             location="lib/capu/deliverable/capu/bin/Windows_X86_32/Debug/capuTest.exe"/>
-        <exec executable="${executable-full-path}" osfamily="windows">
+        <exec executable="${executable-full-path}" osfamily="windows" failonerror="true">
             <arg value="--gtest_output=xml:${testResultsDirectory}/"/>
         </exec>
         <!-- Run CAPU Unit Tests on Unix -->
-        <exec executable="lib/capu/deliverable/capu/bin/Linux_X86_32/capuTest" osfamily="unix">
+        <exec executable="lib/capu/deliverable/capu/bin/Linux_X86_32/capuTest" osfamily="unix"  failonerror="true">
             <arg value="--gtest_output=xml:${testResultsDirectory}/"/>
         </exec>
     
         <!-- Run Etch Unit Tests -->
         <!-- Run Etch Unit Tests on Windows-->
-        <exec executable="${target}/src/test/debug/etch-cpp-test" osfamily="windows">
+        <exec executable="${target}/src/test/debug/etch-cpp-test" osfamily="windows"  failonerror="true">
             <arg value="--gtest_output=xml:${testResultsDirectory}/"/>
         </exec>
         <!-- Run Etch Unit Tests on Unix -->
-        <exec executable="${target}/src/test/etch-cpp-test" osfamily="unix">
+        <exec executable="${target}/src/test/etch-cpp-test" osfamily="unix"  failonerror="true">
             <arg value="--gtest_output=xml:${testResultsDirectory}/"/>
         </exec>
     </target>