|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r72985 - branches/pplib/v2/libs/preprocessor/test
From: eldiener_at_[hidden]
Date: 2011-07-09 11:09:04
Author: eldiener
Date: 2011-07-09 11:09:01 EDT (Sat, 09 Jul 2011)
New Revision: 72985
URL: http://svn.boost.org/trac/boost/changeset/72985
Log:
Updated debug_fail tests.
Added:
branches/pplib/v2/libs/preprocessor/test/debug_fail_array.c (contents, props changed)
branches/pplib/v2/libs/preprocessor/test/debug_fail_array.cpp (contents, props changed)
branches/pplib/v2/libs/preprocessor/test/debug_fail_array.cxx (contents, props changed)
branches/pplib/v2/libs/preprocessor/test/debug_fail_list.c (contents, props changed)
branches/pplib/v2/libs/preprocessor/test/debug_fail_list.cpp (contents, props changed)
branches/pplib/v2/libs/preprocessor/test/debug_fail_list.cxx (contents, props changed)
branches/pplib/v2/libs/preprocessor/test/debug_fail_tuple.c (contents, props changed)
branches/pplib/v2/libs/preprocessor/test/debug_fail_tuple.cpp (contents, props changed)
branches/pplib/v2/libs/preprocessor/test/debug_fail_tuple.cxx (contents, props changed)
Removed:
branches/pplib/v2/libs/preprocessor/test/debug_fail.c
branches/pplib/v2/libs/preprocessor/test/debug_fail.cpp
branches/pplib/v2/libs/preprocessor/test/debug_fail.cxx
Text files modified:
branches/pplib/v2/libs/preprocessor/test/Jamfile.v2 | 99 ++++++++++++++++++++++++++-------------
1 files changed, 66 insertions(+), 33 deletions(-)
Modified: branches/pplib/v2/libs/preprocessor/test/Jamfile.v2
==============================================================================
--- branches/pplib/v2/libs/preprocessor/test/Jamfile.v2 (original)
+++ branches/pplib/v2/libs/preprocessor/test/Jamfile.v2 2011-07-09 11:09:01 EDT (Sat, 09 Jul 2011)
@@ -37,63 +37,63 @@
test-suite preprocessor_gcc
:
[ compile arithmetic.cpp
- : <cflags>-std=c++0x
+ : <cxxflags>-std=c++0x
: arithmetic_gcc
]
[ compile array.cpp
- : <cflags>-std=c++0x
+ : <cxxflags>-std=c++0x
: array_gcc
]
[ compile comparison.cpp
- : <cflags>-std=c++0x
+ : <cxxflags>-std=c++0x
: comparison_gcc
]
[ compile control.cpp
- : <cflags>-std=c++0x
+ : <cxxflags>-std=c++0x
: control_gcc
]
[ compile debug.cpp
- : <cflags>-std=c++0x
+ : <cxxflags>-std=c++0x
: debug_gcc
]
[ compile facilities.cpp
- : <cflags>-std=c++0x
+ : <cxxflags>-std=c++0x
: facilities_gcc
]
[ compile iteration.cpp
- : <cflags>-std=c++0x
+ : <cxxflags>-std=c++0x
: iteration_gcc
]
[ compile list.cpp
- : <cflags>-std=c++0x
+ : <cxxflags>-std=c++0x
: list_gcc
]
[ compile logical.cpp
- : <cflags>-std=c++0x
+ : <cxxflags>-std=c++0x
: logical_gcc
]
[ compile repetition.cpp
- : <cflags>-std=c++0x
+ : <cxxflags>-std=c++0x
: repetition_gcc
]
[ compile selection.cpp
- : <cflags>-std=c++0x
+ : <cxxflags>-std=c++0x
: selection_gcc
]
[ compile seq.cpp
- : <cflags>-std=c++0x
+ : <cxxflags>-std=c++0x
: seq_gcc
]
[ compile slot.cpp
- : <cflags>-std=c++0x
+ : <cxxflags>-std=c++0x
: slot_gcc
]
[ compile tuple.cpp
- : <cflags>-std=c++0x
+ : <cxxflags>-std=c++0x
: tuple_gcc
]
[ compile variadic.cpp
- : <cflags>-std=c++0x
+ : <cxxflags>-std=c++0x
: variadic_gcc
]
:
@@ -104,7 +104,8 @@
<toolset>gcc-4.6.0
;
-test-suite preprocessor_gcc ;
+test-suite preprocessor_gcc
+ ;
test-suite preprocessor_nvm
:
@@ -124,14 +125,29 @@
[ compile tuple.cpp : <define>BOOST_PP_VARIADICS=0 : tuple_nvm ]
;
-# test-suite preprocessor_dbg
-# :
-# [ compile-fail debug_fail.cpp
-# : <variant>debug
-# <define>BOOST_PP_VARIADICS=1
-# <toolset>gcc:<cflags>-std=c++0x
-# ]
-# ;
+test-suite preprocessor_dbg
+ :
+ [ compile-fail debug_fail_tuple.cpp
+ : <variant>debug
+ <define>BOOST_PP_VARIADICS=1
+ <toolset>gcc:<cxxflags>-std=c++0x
+ ]
+ [ compile-fail debug_fail_array.cpp
+ : <variant>debug
+ <define>BOOST_PP_VARIADICS=1
+ <toolset>gcc:<cxxflags>-std=c++0x
+ ]
+ [ compile-fail debug_fail_list.cpp
+ : <variant>debug
+ <define>BOOST_PP_VARIADICS=1
+ <toolset>gcc:<cxxflags>-std=c++0x
+ ]
+ ;
+
+test-suite preprocessor_dbg
+ :
+ : <toolset>msvc
+ ;
test-suite preprocessor_c
:
@@ -253,12 +269,29 @@
]
;
-# test-suite preprocessor_c_dbg
-# :
-# [ compile-fail debug_fail.c
-# : <variant>debug
-# <define>BOOST_PP_VARIADICS=1
-# <toolset>gcc:<cflags>-std=c99
-# : debug_fail_c
-# ]
-# ;
+test-suite preprocessor_c_dbg
+ :
+ [ compile-fail debug_fail_tuple.c
+ : <variant>debug
+ <define>BOOST_PP_VARIADICS=1
+ <toolset>gcc:<cflags>-std=c99
+ : debug_fail_tuple_c
+ ]
+ [ compile-fail debug_fail_array.c
+ : <variant>debug
+ <define>BOOST_PP_VARIADICS=1
+ <toolset>gcc:<cflags>-std=c99
+ : debug_fail_array_c
+ ]
+ [ compile-fail debug_fail_list.c
+ : <variant>debug
+ <define>BOOST_PP_VARIADICS=1
+ <toolset>gcc:<cflags>-std=c99
+ : debug_fail_list_c
+ ]
+ ;
+
+test-suite preprocessor_c_dbg
+ :
+ : <toolset>msvc
+ ;
Deleted: branches/pplib/v2/libs/preprocessor/test/debug_fail.c
==============================================================================
--- branches/pplib/v2/libs/preprocessor/test/debug_fail.c 2011-07-09 11:09:01 EDT (Sat, 09 Jul 2011)
+++ (empty file)
@@ -1,12 +0,0 @@
-# /* **************************************************************************
-# * *
-# * (C) Copyright Edward Diener 2011.
-# * Distributed under the Boost Software License, Version 1.0. (See
-# * accompanying file LICENSE_1_0.txt or copy at
-# * http://www.boost.org/LICENSE_1_0.txt)
-# * *
-# ************************************************************************** */
-#
-# /* See http://www.boost.org for most recent version. */
-#
-# include <libs/preprocessor/test/debug_fail.cxx>
Deleted: branches/pplib/v2/libs/preprocessor/test/debug_fail.cpp
==============================================================================
--- branches/pplib/v2/libs/preprocessor/test/debug_fail.cpp 2011-07-09 11:09:01 EDT (Sat, 09 Jul 2011)
+++ (empty file)
@@ -1,12 +0,0 @@
-# /* **************************************************************************
-# * *
-# * (C) Copyright Edward Diener 2011.
-# * Distributed under the Boost Software License, Version 1.0. (See
-# * accompanying file LICENSE_1_0.txt or copy at
-# * http://www.boost.org/LICENSE_1_0.txt)
-# * *
-# ************************************************************************** */
-#
-# /* See http://www.boost.org for most recent version. */
-#
-# include <libs/preprocessor/test/debug_fail.cxx>
Deleted: branches/pplib/v2/libs/preprocessor/test/debug_fail.cxx
==============================================================================
--- branches/pplib/v2/libs/preprocessor/test/debug_fail.cxx 2011-07-09 11:09:01 EDT (Sat, 09 Jul 2011)
+++ (empty file)
@@ -1,21 +0,0 @@
-# /* **************************************************************************
-# * *
-# * (C) Copyright Edward Diener 2011.
-# * Distributed under the Boost Software License, Version 1.0. (See
-# * accompanying file LICENSE_1_0.txt or copy at
-# * http://www.boost.org/LICENSE_1_0.txt)
-# * *
-# ************************************************************************** */
-#
-# /* See http://www.boost.org for most recent version. */
-#
-# include <boost/preprocessor/debug.hpp>
-# include <libs/preprocessor/test/test.h>
-
-# if BOOST_PP_VARIADICS
-
-BOOST_PP_ASSERT_IS_TUPLE((x,3,e,2)ty)
-BOOST_PP_ASSERT_IS_ARRAY((y,(x,3,e,2)))
-BOOST_PP_ASSERT_IS_LIST((4,(x)))
-
-# endif
Added: branches/pplib/v2/libs/preprocessor/test/debug_fail_array.c
==============================================================================
--- (empty file)
+++ branches/pplib/v2/libs/preprocessor/test/debug_fail_array.c 2011-07-09 11:09:01 EDT (Sat, 09 Jul 2011)
@@ -0,0 +1,12 @@
+# /* **************************************************************************
+# * *
+# * (C) Copyright Edward Diener 2011.
+# * Distributed under the Boost Software License, Version 1.0. (See
+# * accompanying file LICENSE_1_0.txt or copy at
+# * http://www.boost.org/LICENSE_1_0.txt)
+# * *
+# ************************************************************************** */
+#
+# /* See http://www.boost.org for most recent version. */
+#
+# include <libs/preprocessor/test/debug_fail_array.cxx>
Added: branches/pplib/v2/libs/preprocessor/test/debug_fail_array.cpp
==============================================================================
--- (empty file)
+++ branches/pplib/v2/libs/preprocessor/test/debug_fail_array.cpp 2011-07-09 11:09:01 EDT (Sat, 09 Jul 2011)
@@ -0,0 +1,12 @@
+# /* **************************************************************************
+# * *
+# * (C) Copyright Edward Diener 2011.
+# * Distributed under the Boost Software License, Version 1.0. (See
+# * accompanying file LICENSE_1_0.txt or copy at
+# * http://www.boost.org/LICENSE_1_0.txt)
+# * *
+# ************************************************************************** */
+#
+# /* See http://www.boost.org for most recent version. */
+#
+# include <libs/preprocessor/test/debug_fail_array.cxx>
Added: branches/pplib/v2/libs/preprocessor/test/debug_fail_array.cxx
==============================================================================
--- (empty file)
+++ branches/pplib/v2/libs/preprocessor/test/debug_fail_array.cxx 2011-07-09 11:09:01 EDT (Sat, 09 Jul 2011)
@@ -0,0 +1,19 @@
+# /* **************************************************************************
+# * *
+# * (C) Copyright Edward Diener 2011.
+# * Distributed under the Boost Software License, Version 1.0. (See
+# * accompanying file LICENSE_1_0.txt or copy at
+# * http://www.boost.org/LICENSE_1_0.txt)
+# * *
+# ************************************************************************** */
+#
+# /* See http://www.boost.org for most recent version. */
+#
+# include <boost/preprocessor/debug.hpp>
+# include <libs/preprocessor/test/test.h>
+
+# if BOOST_PP_VARIADICS
+
+BOOST_PP_ASSERT_IS_ARRAY((y,(x,3,e,2)))
+
+# endif
Added: branches/pplib/v2/libs/preprocessor/test/debug_fail_list.c
==============================================================================
--- (empty file)
+++ branches/pplib/v2/libs/preprocessor/test/debug_fail_list.c 2011-07-09 11:09:01 EDT (Sat, 09 Jul 2011)
@@ -0,0 +1,12 @@
+# /* **************************************************************************
+# * *
+# * (C) Copyright Edward Diener 2011.
+# * Distributed under the Boost Software License, Version 1.0. (See
+# * accompanying file LICENSE_1_0.txt or copy at
+# * http://www.boost.org/LICENSE_1_0.txt)
+# * *
+# ************************************************************************** */
+#
+# /* See http://www.boost.org for most recent version. */
+#
+# include <libs/preprocessor/test/debug_fail_list.cxx>
Added: branches/pplib/v2/libs/preprocessor/test/debug_fail_list.cpp
==============================================================================
--- (empty file)
+++ branches/pplib/v2/libs/preprocessor/test/debug_fail_list.cpp 2011-07-09 11:09:01 EDT (Sat, 09 Jul 2011)
@@ -0,0 +1,12 @@
+# /* **************************************************************************
+# * *
+# * (C) Copyright Edward Diener 2011.
+# * Distributed under the Boost Software License, Version 1.0. (See
+# * accompanying file LICENSE_1_0.txt or copy at
+# * http://www.boost.org/LICENSE_1_0.txt)
+# * *
+# ************************************************************************** */
+#
+# /* See http://www.boost.org for most recent version. */
+#
+# include <libs/preprocessor/test/debug_fail_list.cxx>
Added: branches/pplib/v2/libs/preprocessor/test/debug_fail_list.cxx
==============================================================================
--- (empty file)
+++ branches/pplib/v2/libs/preprocessor/test/debug_fail_list.cxx 2011-07-09 11:09:01 EDT (Sat, 09 Jul 2011)
@@ -0,0 +1,19 @@
+# /* **************************************************************************
+# * *
+# * (C) Copyright Edward Diener 2011.
+# * Distributed under the Boost Software License, Version 1.0. (See
+# * accompanying file LICENSE_1_0.txt or copy at
+# * http://www.boost.org/LICENSE_1_0.txt)
+# * *
+# ************************************************************************** */
+#
+# /* See http://www.boost.org for most recent version. */
+#
+# include <boost/preprocessor/debug.hpp>
+# include <libs/preprocessor/test/test.h>
+
+# if BOOST_PP_VARIADICS
+
+BOOST_PP_ASSERT_IS_LIST((4,(x)))
+
+# endif
Added: branches/pplib/v2/libs/preprocessor/test/debug_fail_tuple.c
==============================================================================
--- (empty file)
+++ branches/pplib/v2/libs/preprocessor/test/debug_fail_tuple.c 2011-07-09 11:09:01 EDT (Sat, 09 Jul 2011)
@@ -0,0 +1,12 @@
+# /* **************************************************************************
+# * *
+# * (C) Copyright Edward Diener 2011.
+# * Distributed under the Boost Software License, Version 1.0. (See
+# * accompanying file LICENSE_1_0.txt or copy at
+# * http://www.boost.org/LICENSE_1_0.txt)
+# * *
+# ************************************************************************** */
+#
+# /* See http://www.boost.org for most recent version. */
+#
+# include <libs/preprocessor/test/debug_fail_tuple.cxx>
Added: branches/pplib/v2/libs/preprocessor/test/debug_fail_tuple.cpp
==============================================================================
--- (empty file)
+++ branches/pplib/v2/libs/preprocessor/test/debug_fail_tuple.cpp 2011-07-09 11:09:01 EDT (Sat, 09 Jul 2011)
@@ -0,0 +1,12 @@
+# /* **************************************************************************
+# * *
+# * (C) Copyright Edward Diener 2011.
+# * Distributed under the Boost Software License, Version 1.0. (See
+# * accompanying file LICENSE_1_0.txt or copy at
+# * http://www.boost.org/LICENSE_1_0.txt)
+# * *
+# ************************************************************************** */
+#
+# /* See http://www.boost.org for most recent version. */
+#
+# include <libs/preprocessor/test/debug_fail_tuple.cxx>
Added: branches/pplib/v2/libs/preprocessor/test/debug_fail_tuple.cxx
==============================================================================
--- (empty file)
+++ branches/pplib/v2/libs/preprocessor/test/debug_fail_tuple.cxx 2011-07-09 11:09:01 EDT (Sat, 09 Jul 2011)
@@ -0,0 +1,19 @@
+# /* **************************************************************************
+# * *
+# * (C) Copyright Edward Diener 2011.
+# * Distributed under the Boost Software License, Version 1.0. (See
+# * accompanying file LICENSE_1_0.txt or copy at
+# * http://www.boost.org/LICENSE_1_0.txt)
+# * *
+# ************************************************************************** */
+#
+# /* See http://www.boost.org for most recent version. */
+#
+# include <boost/preprocessor/debug.hpp>
+# include <libs/preprocessor/test/test.h>
+
+# if BOOST_PP_VARIADICS
+
+BOOST_PP_ASSERT_IS_TUPLE((x,3,e,2)ty)
+
+# endif
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