Skip to content

Commit

Permalink
MONDRIAN: Modified build file to fail on error
Browse files Browse the repository at this point in the history
[git-p4: depot-paths = "//open/mondrian/": change = 9179]
  • Loading branch information
thiyagu committed Apr 27, 2007
1 parent 5eff16c commit 5981607
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion build.xml
Expand Up @@ -497,7 +497,7 @@ in {mondrian.foodmart.jdbcURL}.">

<target name="junit-main" depends="compile,compile.tests,set.connectString">
<mkdir dir="junit-results"/>
<junit printsummary="yes" fork="yes" haltonfailure="no" haltonerror="no">
<junit printsummary="yes" fork="yes" haltonfailure="no" haltonerror="no" errorproperty="juniterror" failureproperty="junitfailure">
<classpath>
<path refid="project.test.classpath"/>
</classpath>
Expand Down Expand Up @@ -526,6 +526,16 @@ in {mondrian.foodmart.jdbcURL}.">
</fileset>
<report format="frames" todir="junit-results/html"/>
</junitreport>
<fail>
<condition>
<isset property="juniterror"/>
</condition>
</fail>
<fail>
<condition>
<isset property="junitfailure"/>
</condition>
</fail>

</target>

Expand Down

0 comments on commit 5981607

Please sign in to comment.