#~ Copyright Rene Rivera 2008 #~ 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) import testing ; project preprocessor_tests : requirements on gcc-4.3.0:all gcc-4.3.0:-Wno-variadic-macros gcc-4.4.0:all gcc-4.4.0:-Wno-variadic-macros gcc-4.5.0:all gcc-4.5.0:-Wno-variadic-macros gcc-4.5.0:"-Wl,--enable-auto-import" gcc-4.5.2:all gcc-4.5.2:-Wno-variadic-macros msvc:all ; test-suite preprocessor : [ compile arithmetic.cpp : gcc:-std=c++0x clang:-std=c++0x ] [ compile array.cpp : gcc:-std=c++0x clang:-std=c++0x ] [ compile comparison.cpp : gcc:-std=c++0x clang:-std=c++0x ] [ compile control.cpp : gcc:-std=c++0x clang:-std=c++0x ] [ compile debug.cpp : gcc:-std=c++0x clang:-std=c++0x ] [ compile facilities.cpp : gcc:-std=c++0x clang:-std=c++0x ] [ compile iteration.cpp : gcc:-std=c++0x clang:-std=c++0x ] [ compile list.cpp : gcc:-std=c++0x clang:-std=c++0x ] [ compile logical.cpp : gcc:-std=c++0x clang:-std=c++0x ] [ compile punctuation.cpp : gcc:-std=c++0x clang:-std=c++0x ] [ compile repetition.cpp : gcc:-std=c++0x clang:-std=c++0x ] [ compile selection.cpp : gcc:-std=c++0x clang:-std=c++0x ] [ compile seq.cpp : gcc:-std=c++0x clang:-std=c++0x ] [ compile slot.cpp : gcc:-std=c++0x clang:-std=c++0x ] [ compile tuple.cpp : gcc:-std=c++0x clang:-std=c++0x ] [ compile variadic.cpp : gcc:-std=c++0x clang:-std=c++0x ] ; test-suite preprocessor_nvm : [ compile arithmetic.cpp : BOOST_PP_VARIADICS=0 : arithmetic_nvm ] [ compile array.cpp : BOOST_PP_VARIADICS=0 : array_nvm ] [ compile comparison.cpp : BOOST_PP_VARIADICS=0 : comparison_nvm ] [ compile control.cpp : BOOST_PP_VARIADICS=0 : control_nvm ] [ compile debug.cpp : BOOST_PP_VARIADICS=0 : debug_nvm ] [ compile facilities.cpp : BOOST_PP_VARIADICS=0 : facilities_nvm ] [ compile iteration.cpp : BOOST_PP_VARIADICS=0 : iteration_nvm ] [ compile list.cpp : BOOST_PP_VARIADICS=0 : list_nvm ] [ compile logical.cpp : BOOST_PP_VARIADICS=0 : logical_nvm ] [ compile repetition.cpp : BOOST_PP_VARIADICS=0 : repetition_nvm ] [ compile selection.cpp : BOOST_PP_VARIADICS=0 : selection_nvm ] [ compile seq.cpp : BOOST_PP_VARIADICS=0 : seq_nvm ] [ compile slot.cpp : BOOST_PP_VARIADICS=0 : slot_nvm ] [ compile tuple.cpp : BOOST_PP_VARIADICS=0 : tuple_nvm ] ; test-suite preprocessor_c : [ compile arithmetic.c : gcc:-std=c99 clang:-std=c99 : arithmetic_c ] [ compile array.c : gcc:-std=c99 clang:-std=c99 : array_c ] [ compile comparison.c : gcc:-std=c99 clang:-std=c99 : comparison_c ] [ compile control.c : gcc:-std=c99 clang:-std=c99 : control_c ] [ compile debug.c : gcc:-std=c99 clang:-std=c99 : debug_c ] [ compile facilities.c : gcc:-std=c99 clang:-std=c99 : facilities_c ] [ compile list.c : gcc:-std=c99 clang:-std=c99 : list_c ] [ compile logical.c : gcc:-std=c99 clang:-std=c99 : logical_c ] [ compile punctuation.c : gcc:-std=c99 clang:-std=c99 : punctuation_c ] [ compile selection.c : gcc:-std=c99 clang:-std=c99 : selection_c ] [ compile seq.c : gcc:-std=c99 clang:-std=c99 : seq_c ] [ compile slot.c : gcc:-std=c99 clang:-std=c99 : slot_c ] [ compile tuple.c : gcc:-std=c99 clang:-std=c99 : tuple_c ] [ compile variadic.c : gcc:-std=c99 clang:-std=c99 : variadic_c ] ; test-suite preprocessor_c_nvm : [ compile arithmetic.c : BOOST_PP_VARIADICS=0 gcc:-std=c99 clang:-std=c99 : arithmetic_c_nvm ] [ compile array.c : BOOST_PP_VARIADICS=0 gcc:-std=c99 clang:-std=c99 : array_c_nvm ] [ compile comparison.c : BOOST_PP_VARIADICS=0 gcc:-std=c99 clang:-std=c99 : comparison_c_nvm ] [ compile control.c : BOOST_PP_VARIADICS=0 gcc:-std=c99 clang:-std=c99 : control_c_nvm ] [ compile debug.c : BOOST_PP_VARIADICS=0 gcc:-std=c99 clang:-std=c99 : debug_c_nvm ] [ compile facilities.c : BOOST_PP_VARIADICS=0 gcc:-std=c99 clang:-std=c99 : facilities_c_nvm ] [ compile list.c : BOOST_PP_VARIADICS=0 gcc:-std=c99 clang:-std=c99 : list_c_nvm ] [ compile logical.c : BOOST_PP_VARIADICS=0 gcc:-std=c99 clang:-std=c99 : logical_c_nvm ] [ compile selection.c : BOOST_PP_VARIADICS=0 gcc:-std=c99 clang:-std=c99 : selection_c_nvm ] [ compile seq.c : BOOST_PP_VARIADICS=0 gcc:-std=c99 clang:-std=c99 : seq_c_nvm ] [ compile slot.c : BOOST_PP_VARIADICS=0 gcc:-std=c99 clang:-std=c99 : slot_c_nvm ] [ compile tuple.c : BOOST_PP_VARIADICS=0 gcc:-std=c99 clang:-std=c99 : tuple_c_nvm ] ; test-suite preprocessor_isempty : [ compile isempty.cpp : gcc:-std=c++0x clang:-std=c++0x ] [ compile-fail isempty_variadic_standard_failure.cpp : gcc:-std=c++0x clang:-std=c++0x ] [ compile-fail isempty_variadic_standard_failure2.cpp : gcc:-std=c++0x clang:-std=c++0x ] ; test-suite preprocessor_isempty_nvm : [ compile isempty.cpp : BOOST_PP_VARIADICS=0 : isempty_nvm ] ; test-suite preprocessor_isempty_c : [ compile isempty.c : gcc:-std=c99 clang:-std=c99 : isempty_c ] [ compile-fail isempty_variadic_standard_failure.c : gcc:-std=c99 clang:-std=c99 : isempty_variadic_standard_failure_c ] [ compile-fail isempty_variadic_standard_failure2.c : gcc:-std=c99 clang:-std=c99 : isempty_variadic_standard_failure2_c ] ; test-suite preprocessor_isempty_c_nvm : [ compile isempty.c : BOOST_PP_VARIADICS=0 gcc:-std=c99 clang:-std=c99 : isempty_c_nvm ] ;