NIHVIVO-1129 allow specifying the results directory.

This commit is contained in:
jeb228 2011-01-14 22:58:01 +00:00
parent 908089f70a
commit d2765c5c29

View file

@ -32,7 +32,7 @@ report - Just summarize output from previously run tests.
target: all target: all
================================= --> ================================= -->
<target name="all" <target name="all"
depends="clean, run, report" depends="run, report"
description="--> Run the tests and summarize the output." /> description="--> Run the tests and summarize the output." />
<!-- ================================= <!-- =================================
@ -51,8 +51,6 @@ report - Just summarize output from previously run tests.
<property name="source.dir" value="src" /> <property name="source.dir" value="src" />
<property name="build.dir" value=".build" /> <property name="build.dir" value=".build" />
<property name="tests.dir" value="tests" /> <property name="tests.dir" value="tests" />
<property name="results.dir" value=".results" />
<property name="properties.file" location="loadtesting.properties" /> <property name="properties.file" location="loadtesting.properties" />
<fail message="You must create a &quot;${properties.file}&quot; file."> <fail message="You must create a &quot;${properties.file}&quot; file.">
@ -79,6 +77,9 @@ report - Just summarize output from previously run tests.
<fail unless="data.dir" message="${properties.file} must contain a value for data.dir" /> <fail unless="data.dir" message="${properties.file} must contain a value for data.dir" />
<!-- If no value was provided, store the results here. -->
<property name="results.dir" value=".results" />
<!-- If no value was provided, run a single thread --> <!-- If no value was provided, run a single thread -->
<property name="threads" value="1" /> <property name="threads" value="1" />