mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
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:
parent
febd21a724
commit
07f4a1e89f
1 changed files with 13 additions and 8 deletions
|
|
@ -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">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue