mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
Added MOCK_NO_VARIADIC_MACROS to deactivate variadic macros support
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@668 860be788-9bd5-4423-9f1e-828f051e677b
This commit is contained in:
parent
8d08012cdf
commit
f97fb87f81
9 changed files with 58 additions and 36 deletions
|
|
@ -4,6 +4,7 @@
|
|||
Not yet released
|
||||
|
||||
* Reworked MOCK_CONSTRAINT to be able to provide names to parameters
|
||||
* Added MOCK_NO_VARIADIC_MACROS to deactivate variadic macros support
|
||||
|
||||
[endsect]
|
||||
|
||||
|
|
|
|||
|
|
@ -15,6 +15,8 @@ rule run-test ( name )
|
|||
run $(name).cpp /boost//unit_test_framework : : : : $(name) ;
|
||||
run $(name).cpp /boost//unit_test_framework : : : <define>MOCK_MAX_ARGS=21 : $(name)_max_args ;
|
||||
run $(name).cpp /boost//unit_test_framework : : : <define>MOCK_USE_CONVERSIONS : $(name)_use_conversions ;
|
||||
run $(name).cpp /boost//unit_test_framework : : : <define>MOCK_NO_DECLTYPE : $(name)_no_decltype ;
|
||||
run $(name).cpp /boost//unit_test_framework : : : <define>MOCK_NO_VARIADIC_MACROS : $(name)_no_variadic_macros ;
|
||||
}
|
||||
|
||||
alias mock_tests :
|
||||
|
|
|
|||
|
|
@ -30,6 +30,12 @@
|
|||
<build-turtle-test name="turtle_use_conversions">
|
||||
<defineset define="MOCK_USE_CONVERSIONS"/>
|
||||
</build-turtle-test>
|
||||
<build-turtle-test name="turtle_no_decltype">
|
||||
<defineset define="MOCK_NO_DECLTYPE"/>
|
||||
</build-turtle-test>
|
||||
<build-turtle-test name="turtle_no_variadic_macros">
|
||||
<defineset define="MOCK_NO_VARIADIC_MACROS"/>
|
||||
</build-turtle-test>
|
||||
</target>
|
||||
|
||||
<target name="analyse" description="run errors analyser">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue