Refactored tests

git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@315 860be788-9bd5-4423-9f1e-828f051e677b
This commit is contained in:
mat007 2011-05-08 18:13:32 +00:00
parent febd21a724
commit 07f4a1e89f

View file

@ -11,20 +11,25 @@
<update name="boost"/>
</target>
<target name="test" description="run unit tests">
<build-test name="turtle" depends="boost" mode="all">
<presetdef name="build-turtle-test">
<build-test input="turtle_test" depends="boost" mode="all">
<compilerarg value="-Wno-uninitialized" location="mid" if="is-cygwin"/>
</build-test>
<build-test name="turtle_max_args" input="turtle_test" depends="boost" mode="all">
<compilerarg value="-Wno-uninitialized" location="mid" if="is-cygwin"/>
</presetdef>
<target name="test" description="run unit tests">
<build-turtle-test name="turtle"/>
<build-turtle-test name="turtle_max_args">
<defineset>
<define name="MOCK_MAX_ARGS" value="20"/>
</defineset>
</build-test>
<build-test name="turtle_use_conversions" input="turtle_test" depends="boost" mode="all">
<compilerarg value="-Wno-uninitialized" location="mid" if="is-cygwin"/>
</build-turtle-test>
<build-turtle-test name="turtle_use_conversions">
<defineset define="MOCK_USE_CONVERSIONS"/>
</build-test>
</build-turtle-test>
<build-turtle-test name="turtle_use_boost_test">
<defineset define="MOCK_USE_BOOST_TEST"/>
</build-turtle-test>
</target>
<target name="analyse" description="run errors analyser">