|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r71031 - in branches/pplib/variadics: boost/preprocessor/config libs/preprocessor/test
From: eldiener_at_[hidden]
Date: 2011-04-06 10:20:19
Author: eldiener
Date: 2011-04-06 10:20:16 EDT (Wed, 06 Apr 2011)
New Revision: 71031
URL: http://svn.boost.org/trac/boost/changeset/71031
Log:
Updated tests and using Boost config by default.
Text files modified:
branches/pplib/variadics/boost/preprocessor/config/variadics.hpp | 7 +-
branches/pplib/variadics/libs/preprocessor/test/Jamfile.v2 | 95 ++++++++++++++++++++++++++++++++++-----
2 files changed, 85 insertions(+), 17 deletions(-)
Modified: branches/pplib/variadics/boost/preprocessor/config/variadics.hpp
==============================================================================
--- branches/pplib/variadics/boost/preprocessor/config/variadics.hpp (original)
+++ branches/pplib/variadics/boost/preprocessor/config/variadics.hpp 2011-04-06 10:20:16 EDT (Wed, 06 Apr 2011)
@@ -14,10 +14,9 @@
#
# if !defined(BOOST_PP_VARIADICS)
#
-# if !defined(BOOST_PP_USE_BOOST_CONFIG)
-/* This is the code we will use. It is essentially a duplication
- of the code in Boost Config. If we could ever use Boost Config
- in the future, we can change the above line to #if 0.
+# if defined(BOOST_PP_NO_USE_BOOST_CONFIG)
+/* This is the code we will use if not using Boost config.
+ It is essentially a duplication of the code in Boost Config.
*/
#if defined(__GCCXML__)
/* GCC-XML emulates other compilers, it has to appear first here! */
Modified: branches/pplib/variadics/libs/preprocessor/test/Jamfile.v2
==============================================================================
--- branches/pplib/variadics/libs/preprocessor/test/Jamfile.v2 (original)
+++ branches/pplib/variadics/libs/preprocessor/test/Jamfile.v2 2011-04-06 10:20:16 EDT (Wed, 06 Apr 2011)
@@ -57,55 +57,124 @@
test-suite preprocessor_c
:
[ compile arithmetic.c
- :
+ : <toolset>gcc:<cflags>-std=c99
: arithmetic_c
]
[ compile array.c
- :
+ : <toolset>gcc:<cflags>-std=c99
: array_c
]
[ compile comparison.c
- :
+ : <toolset>gcc:<cflags>-std=c99
: comparison_c
]
[ compile control.c
- :
+ : <toolset>gcc:<cflags>-std=c99
: control_c
]
[ compile debug.c
- :
+ : <toolset>gcc:<cflags>-std=c99
: debug_c
]
[ compile facilities.c
- :
+ : <toolset>gcc:<cflags>-std=c99
: facilities_c
]
[ compile list.c
- :
+ : <toolset>gcc:<cflags>-std=c99
: list_c
]
[ compile logical.c
- :
+ : <toolset>gcc:<cflags>-std=c99
: logical_c
]
[ compile selection.c
- :
+ : <toolset>gcc:<cflags>-std=c99
: selection_c
]
[ compile seq.c
- :
+ : <toolset>gcc:<cflags>-std=c99
: seq_c
]
[ compile slot.c
- :
+ : <toolset>gcc:<cflags>-std=c99
: slot_c
]
[ compile tuple.c
- :
+ : <toolset>gcc:<cflags>-std=c99
: tuple_c
]
[ compile variadic.c
- :
+ : <toolset>gcc:<cflags>-std=c99
: variadic_c
]
;
+
+test-suite preprocessor_c_nvm
+ :
+ [ compile arithmetic.c
+ : <define>BOOST_PP_VARIADICS=0
+ <toolset>gcc:<cflags>-std=c99
+ : arithmetic_c_nvm
+ ]
+ [ compile array.c
+ : <define>BOOST_PP_VARIADICS=0
+ <toolset>gcc:<cflags>-std=c99
+ : array_c_nvm
+ ]
+ [ compile comparison.c
+ : <define>BOOST_PP_VARIADICS=0
+ <toolset>gcc:<cflags>-std=c99
+ : comparison_c_nvm
+ ]
+ [ compile control.c
+ : <define>BOOST_PP_VARIADICS=0
+ <toolset>gcc:<cflags>-std=c99
+ : control_c_nvm
+ ]
+ [ compile debug.c
+ : <define>BOOST_PP_VARIADICS=0
+ <toolset>gcc:<cflags>-std=c99
+ : debug_c_nvm
+ ]
+ [ compile facilities.c
+ : <define>BOOST_PP_VARIADICS=0
+ <toolset>gcc:<cflags>-std=c99
+ : facilities_c_nvm
+ ]
+ [ compile list.c
+ : <define>BOOST_PP_VARIADICS=0
+ <toolset>gcc:<cflags>-std=c99
+ : list_c_nvm
+ ]
+ [ compile logical.c
+ : <define>BOOST_PP_VARIADICS=0
+ <toolset>gcc:<cflags>-std=c99
+ : logical_c_nvm
+ ]
+ [ compile selection.c
+ : <define>BOOST_PP_VARIADICS=0
+ <toolset>gcc:<cflags>-std=c99
+ : selection_c_nvm
+ ]
+ [ compile seq.c
+ : <define>BOOST_PP_VARIADICS=0
+ <toolset>gcc:<cflags>-std=c99
+ : seq_c_nvm
+ ]
+ [ compile slot.c
+ : <define>BOOST_PP_VARIADICS=0
+ <toolset>gcc:<cflags>-std=c99
+ : slot_c_nvm
+ ]
+ [ compile tuple.c
+ : <define>BOOST_PP_VARIADICS=0
+ <toolset>gcc:<cflags>-std=c99
+ : tuple_c_nvm
+ ]
+ [ compile variadic.c
+ : <define>BOOST_PP_VARIADICS=0
+ <toolset>gcc:<cflags>-std=c99
+ : variadic_c_nvm
+ ]
+ ;
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk