Skip to content

Commit

Permalink
use overridable build.properties to allow tests to be selectively dis…
Browse files Browse the repository at this point in the history
…abled

git-svn-id: https://svn.apache.org/repos/asf/cocoon/trunk@27306 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
bdelacretaz committed Feb 10, 2004
1 parent 7e11b81 commit ee02014
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/test/anteater/all-tests.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
The newly added test file will be picked up and executed
auto-magically.
For block-specific tests, create anteater scripts in a subdirectory
called "test/anteater", for example src/blocks/batik/test/anteater
for the batik block.
-->

<project name="all-tests" default="all">
Expand All @@ -27,7 +31,15 @@
<typedef resource="META-INF/Anteater.types"/>
<taskdef resource="net/sf/antcontrib/antcontrib.properties"/>

<property name="cocoon.base.dir" value="../../../.."/>

<target name="init">
<!-- use build.properties as in the main build file, for example to selectively disable tests -->
<property file="${user.home}/cocoon.build.properties"/>
<property file="${cocoon.base.dir}/local.build.properties"/>
<property file="${cocoon.base.dir}/build.properties"/>

<echo>test init ${anteater.target.host}</echo>
<property name="cocoon" value="http://${host}:${port}/${base}"/>
<property name="src-webapp-dir" value="../../../../src/webapp"/>
<property name="deploy-dir" value="../../../../build/webapp"/>
Expand Down

0 comments on commit ee02014

Please sign in to comment.