Compare commits

...

5 Commits

69 changed files with 348 additions and 106 deletions

View File

@ -19,19 +19,23 @@ jobs:
include:
- toolset: gcc-4.8
cxxstd: "03,11"
os: ubuntu-18.04
os: ubuntu-latest
container: ubuntu:18.04
install: g++-4.8
- toolset: gcc-5
cxxstd: "03,11,14,1z"
os: ubuntu-18.04
os: ubuntu-latest
container: ubuntu:18.04
install: g++-5
- toolset: gcc-6
cxxstd: "03,11,14,1z"
os: ubuntu-18.04
os: ubuntu-latest
container: ubuntu:18.04
install: g++-6
- toolset: gcc-7
cxxstd: "03,11,14,17"
os: ubuntu-18.04
os: ubuntu-20.04
install: g++-7
- toolset: gcc-8
cxxstd: "03,11,14,17,2a"
os: ubuntu-20.04
@ -51,34 +55,42 @@ jobs:
cxxstd: "03,11,14,17,20,2b"
os: ubuntu-22.04
install: g++-12
- toolset: gcc-13
cxxstd: "03,11,14,17,20,2b"
os: ubuntu-latest
container: ubuntu:23.04
install: g++-13
- toolset: clang
compiler: clang++-3.9
cxxstd: "03,11,14"
os: ubuntu-18.04
os: ubuntu-latest
container: ubuntu:18.04
install: clang-3.9
- toolset: clang
compiler: clang++-4.0
cxxstd: "03,11,14"
os: ubuntu-18.04
os: ubuntu-latest
container: ubuntu:18.04
install: clang-4.0
- toolset: clang
compiler: clang++-5.0
cxxstd: "03,11,14,1z"
os: ubuntu-18.04
os: ubuntu-latest
container: ubuntu:18.04
install: clang-5.0
- toolset: clang
compiler: clang++-6.0
cxxstd: "03,11,14,17"
os: ubuntu-18.04
os: ubuntu-20.04
install: clang-6.0
- toolset: clang
compiler: clang++-7
cxxstd: "03,11,14,17"
os: ubuntu-18.04
os: ubuntu-20.04
install: clang-7
- toolset: clang
compiler: clang++-8
cxxstd: "03,11,14,17"
cxxstd: "03,11,14,17,2a"
os: ubuntu-20.04
install: clang-8
- toolset: clang
@ -104,25 +116,64 @@ jobs:
- toolset: clang
compiler: clang++-13
cxxstd: "03,11,14,17,20,2b"
os: ubuntu-22.04
container: ubuntu:22.04
os: ubuntu-latest
install: clang-13
- toolset: clang
compiler: clang++-14
cxxstd: "03,11,14,17,20,2b"
os: ubuntu-22.04
container: ubuntu:22.04
os: ubuntu-latest
install: clang-14
- toolset: clang
compiler: clang++-15
cxxstd: "03,11,14,17,20,2b"
container: ubuntu:22.04
os: ubuntu-latest
install: clang-15
- toolset: clang
compiler: clang++-16
cxxstd: "03,11,14,17,20,2b"
os: ubuntu-latest
container: ubuntu:23.04
install: clang-16
- toolset: clang
compiler: clang++-17
cxxstd: "03,11,14,17,20,2b"
os: ubuntu-latest
container: ubuntu:23.10
install: clang-17
- toolset: clang
cxxstd: "03,11,14,17,2a"
os: macos-11
- toolset: clang
cxxstd: "03,11,14,17,20,2b"
os: macos-12
- toolset: clang
cxxstd: "03,11,14,17,20,2b"
os: macos-13
runs-on: ${{matrix.os}}
container: ${{matrix.container}}
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Setup container environment
if: matrix.container
run: |
apt-get update
apt-get -y install sudo python3 git g++
- name: Install packages
if: matrix.install
run: sudo apt install ${{matrix.install}}
run: |
sudo apt-get update
sudo apt-get -y install ${{matrix.install}}
- name: Setup Boost
run: |
@ -142,7 +193,7 @@ jobs:
cd boost-root
cp -r $GITHUB_WORKSPACE/* libs/$LIBRARY
git submodule update --init tools/boostdep
python tools/boostdep/depinst/depinst.py --git_args "--jobs 3" $LIBRARY
python3 tools/boostdep/depinst/depinst.py --git_args "--jobs 3" $LIBRARY
./bootstrap.sh
./b2 -d0 headers
@ -185,7 +236,7 @@ jobs:
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Setup Boost
shell: cmd
@ -220,17 +271,20 @@ jobs:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
- os: macos-latest
- os: ubuntu-20.04
- os: ubuntu-22.04
- os: macos-11
- os: macos-12
- os: macos-13
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Install packages
if: matrix.install
run: sudo apt install ${{matrix.install}}
run: sudo apt-get -y install ${{matrix.install}}
- name: Setup Boost
run: |
@ -265,17 +319,20 @@ jobs:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
- os: macos-latest
- os: ubuntu-20.04
- os: ubuntu-22.04
- os: macos-11
- os: macos-12
- os: macos-13
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Install packages
if: matrix.install
run: sudo apt install ${{matrix.install}}
run: sudo apt-get -y install ${{matrix.install}}
- name: Setup Boost
run: |
@ -320,17 +377,20 @@ jobs:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
- os: macos-latest
- os: ubuntu-20.04
- os: ubuntu-22.04
- os: macos-11
- os: macos-12
- os: macos-13
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Install packages
if: matrix.install
run: sudo apt install ${{matrix.install}}
run: sudo apt-get -y install ${{matrix.install}}
- name: Setup Boost
run: |
@ -367,3 +427,183 @@ jobs:
run: |
cd ../boost-root/__build__
ctest --output-on-failure --no-tests=error
windows-cmake-subdir:
strategy:
fail-fast: false
matrix:
include:
- os: windows-2019
- os: windows-2022
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v4
- name: Setup Boost
shell: cmd
run: |
echo GITHUB_REPOSITORY: %GITHUB_REPOSITORY%
for /f %%i in ("%GITHUB_REPOSITORY%") do set LIBRARY=%%~nxi
echo LIBRARY: %LIBRARY%
echo LIBRARY=%LIBRARY%>>%GITHUB_ENV%
echo GITHUB_BASE_REF: %GITHUB_BASE_REF%
echo GITHUB_REF: %GITHUB_REF%
if "%GITHUB_BASE_REF%" == "" set GITHUB_BASE_REF=%GITHUB_REF%
set BOOST_BRANCH=develop
for /f %%i in ("%GITHUB_BASE_REF%") do if "%%~nxi" == "master" set BOOST_BRANCH=master
echo BOOST_BRANCH: %BOOST_BRANCH%
cd ..
git clone -b %BOOST_BRANCH% --depth 1 https://github.com/boostorg/boost.git boost-root
cd boost-root
xcopy /s /e /q %GITHUB_WORKSPACE% libs\%LIBRARY%\
git submodule update --init tools/boostdep
python tools/boostdep/depinst/depinst.py --git_args "--jobs 3" %LIBRARY%
- name: Use library with add_subdirectory (Debug)
shell: cmd
run: |
cd ../boost-root/libs/%LIBRARY%/test/cmake_subdir_test
mkdir __build__ && cd __build__
cmake ..
cmake --build . --config Debug
ctest --output-on-failure --no-tests=error -C Debug
- name: Use library with add_subdirectory (Release)
shell: cmd
run: |
cd ../boost-root/libs/%LIBRARY%/test/cmake_subdir_test/__build__
cmake --build . --config Release
ctest --output-on-failure --no-tests=error -C Release
windows-cmake-install:
strategy:
fail-fast: false
matrix:
include:
- os: windows-2019
- os: windows-2022
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v4
- name: Setup Boost
shell: cmd
run: |
echo GITHUB_REPOSITORY: %GITHUB_REPOSITORY%
for /f %%i in ("%GITHUB_REPOSITORY%") do set LIBRARY=%%~nxi
echo LIBRARY: %LIBRARY%
echo LIBRARY=%LIBRARY%>>%GITHUB_ENV%
echo GITHUB_BASE_REF: %GITHUB_BASE_REF%
echo GITHUB_REF: %GITHUB_REF%
if "%GITHUB_BASE_REF%" == "" set GITHUB_BASE_REF=%GITHUB_REF%
set BOOST_BRANCH=develop
for /f %%i in ("%GITHUB_BASE_REF%") do if "%%~nxi" == "master" set BOOST_BRANCH=master
echo BOOST_BRANCH: %BOOST_BRANCH%
cd ..
git clone -b %BOOST_BRANCH% --depth 1 https://github.com/boostorg/boost.git boost-root
cd boost-root
xcopy /s /e /q %GITHUB_WORKSPACE% libs\%LIBRARY%\
git submodule update --init tools/boostdep
python tools/boostdep/depinst/depinst.py --git_args "--jobs 3" %LIBRARY%
- name: Configure
shell: cmd
run: |
cd ../boost-root
mkdir __build__ && cd __build__
cmake -DBOOST_INCLUDE_LIBRARIES=%LIBRARY% -DCMAKE_INSTALL_PREFIX=C:/cmake-prefix ..
- name: Install (Debug)
shell: cmd
run: |
cd ../boost-root/__build__
cmake --build . --target install --config Debug
- name: Install (Release)
shell: cmd
run: |
cd ../boost-root/__build__
cmake --build . --target install --config Release
- name: Use the installed library (Debug)
shell: cmd
run: |
cd ../boost-root/libs/%LIBRARY%/test/cmake_install_test && mkdir __build__ && cd __build__
cmake -DCMAKE_INSTALL_PREFIX=C:/cmake-prefix ..
cmake --build . --config Debug
ctest --output-on-failure --no-tests=error -C Debug
- name: Use the installed library (Release)
shell: cmd
run: |
cd ../boost-root/libs/%LIBRARY%/test/cmake_install_test/__build__
cmake --build . --config Release
ctest --output-on-failure --no-tests=error -C Release
windows-cmake-test:
strategy:
fail-fast: false
matrix:
include:
- os: windows-2019
- os: windows-2022
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v4
- name: Setup Boost
shell: cmd
run: |
echo GITHUB_REPOSITORY: %GITHUB_REPOSITORY%
for /f %%i in ("%GITHUB_REPOSITORY%") do set LIBRARY=%%~nxi
echo LIBRARY: %LIBRARY%
echo LIBRARY=%LIBRARY%>>%GITHUB_ENV%
echo GITHUB_BASE_REF: %GITHUB_BASE_REF%
echo GITHUB_REF: %GITHUB_REF%
if "%GITHUB_BASE_REF%" == "" set GITHUB_BASE_REF=%GITHUB_REF%
set BOOST_BRANCH=develop
for /f %%i in ("%GITHUB_BASE_REF%") do if "%%~nxi" == "master" set BOOST_BRANCH=master
echo BOOST_BRANCH: %BOOST_BRANCH%
cd ..
git clone -b %BOOST_BRANCH% --depth 1 https://github.com/boostorg/boost.git boost-root
cd boost-root
xcopy /s /e /q %GITHUB_WORKSPACE% libs\%LIBRARY%\
git submodule update --init tools/boostdep
python tools/boostdep/depinst/depinst.py --git_args "--jobs 3" %LIBRARY%
- name: Configure
shell: cmd
run: |
cd ../boost-root
mkdir __build__ && cd __build__
cmake -DBOOST_INCLUDE_LIBRARIES=%LIBRARY% -DBUILD_TESTING=ON ..
- name: Build tests (Debug)
shell: cmd
run: |
cd ../boost-root/__build__
cmake --build . --target tests --config Debug
- name: Run tests (Debug)
shell: cmd
run: |
cd ../boost-root/__build__
ctest --output-on-failure --no-tests=error -C Debug
- name: Build tests (Release)
shell: cmd
run: |
cd ../boost-root/__build__
cmake --build . --target tests --config Release
- name: Run tests (Release)
shell: cmd
run: |
cd ../boost-root/__build__
ctest --output-on-failure --no-tests=error -C Release

View File

@ -19,6 +19,8 @@
# if defined(__cplusplus) && __cplusplus > 201703L
# if defined(__GNUC__) && !defined(__clang__) && __GNUC__ >= 8 && __GNUC__ < 10
# define BOOST_PP_VARIADIC_HAS_OPT() 0
# elif defined(__clang__) && __clang_major__ < 9
# define BOOST_PP_VARIADIC_HAS_OPT() 0
# else
# include <boost/preprocessor/variadic/detail/has_opt.hpp>
# define BOOST_PP_VARIADIC_HAS_OPT() \

View File

@ -16,8 +16,7 @@ set(tests_c ${tests_common})
set(tests_cpp ${tests_common} iteration repetition checkempty vaopt quick)
set(BOOST_TEST_LINK_LIBRARIES Boost::preprocessor)
include_directories(../../..) # for `include <libs/preprocessor/...>` to work
set(BOOST_TEST_INCLUDE_DIRECTORIES .)
foreach(test IN LISTS tests_c)

View File

@ -16,6 +16,7 @@ project preprocessor_tests : requirements <warnings>on
<toolset>gcc-4.5.2:<warnings>all
<toolset>gcc-4.5.2:<cxxflags>-Wno-variadic-macros
<toolset>msvc:<warnings>all
<include>.
;
alias preprocessor : :

View File

@ -9,4 +9,4 @@
#
# /* See http://www.boost.org for most recent version. */
#
# include <libs/preprocessor/test/arithmetic.cxx>
# include "arithmetic.cxx"

View File

@ -9,4 +9,4 @@
#
# /* See http://www.boost.org for most recent version. */
#
# include <libs/preprocessor/test/arithmetic.cxx>
# include "arithmetic.cxx"

View File

@ -11,7 +11,7 @@
#
# include <boost/preprocessor/config/limits.hpp>
# include <boost/preprocessor/arithmetic.hpp>
# include <libs/preprocessor/test/test.h>
# include "test.h"
/* addition */

View File

@ -11,4 +11,4 @@
#
# /* See http://www.boost.org for most recent version. */
#
# include <libs/preprocessor/test/array.cxx>
# include "array.cxx"

View File

@ -11,4 +11,4 @@
#
# /* See http://www.boost.org for most recent version. */
#
# include <libs/preprocessor/test/array.cxx>
# include "array.cxx"

View File

@ -13,7 +13,7 @@
#
# include <boost/preprocessor/config/limits.hpp>
# include <boost/preprocessor/array.hpp>
# include <libs/preprocessor/test/test.h>
# include "test.h"
# include <boost/preprocessor/facilities/is_empty.hpp>
# include <boost/preprocessor/list/at.hpp>
# include <boost/preprocessor/list/size.hpp>

View File

@ -9,4 +9,4 @@
#
# /* See http://www.boost.org for most recent version. */
#
# include <libs/preprocessor/test/checkempty.cxx>
# include "checkempty.cxx"

View File

@ -9,7 +9,7 @@
#
# /* See http://www.boost.org for most recent version. */
#
# include <libs/preprocessor/test/test.h>
# include "test.h"
# include <boost/preprocessor/facilities/check_empty.hpp>
# if BOOST_PP_VARIADIC_HAS_OPT()

View File

@ -9,7 +9,7 @@
#
# /* See http://www.boost.org for most recent version. */
#
# include <libs/preprocessor/test/test_macro.h>
# include "test_macro.h"
#if defined(__clang__) && defined(__CUDACC__) && defined(__CUDA__)

View File

@ -9,5 +9,5 @@
#
# /* See http://www.boost.org for most recent version. */
#
# include <libs/preprocessor/test/comparison.cxx>
# include "comparison.cxx"

View File

@ -9,4 +9,4 @@
#
# /* See http://www.boost.org for most recent version. */
#
# include <libs/preprocessor/test/comparison.cxx>
# include "comparison.cxx"

View File

@ -11,7 +11,7 @@
#
# include <boost/preprocessor/config/limits.hpp>
# include <boost/preprocessor/comparison.hpp>
# include <libs/preprocessor/test/test.h>
# include "test.h"
/* equality */

View File

@ -9,4 +9,4 @@
#
# /* See http://www.boost.org for most recent version. */
#
# include <libs/preprocessor/test/control.cxx>
# include "control.cxx"

View File

@ -9,4 +9,4 @@
#
# /* See http://www.boost.org for most recent version. */
#
# include <libs/preprocessor/test/control.cxx>
# include "control.cxx"

View File

@ -13,7 +13,7 @@
# include <boost/preprocessor/arithmetic/add.hpp>
# include <boost/preprocessor/arithmetic/dec.hpp>
# include <boost/preprocessor/control.hpp>
# include <libs/preprocessor/test/test.h>
# include "test.h"
# define TR(x) 1

View File

@ -9,4 +9,4 @@
#
# /* See http://www.boost.org for most recent version. */
#
# include <libs/preprocessor/test/debug.cxx>
# include "debug.cxx"

View File

@ -9,4 +9,4 @@
#
# /* See http://www.boost.org for most recent version. */
#
# include <libs/preprocessor/test/debug.cxx>
# include "debug.cxx"

View File

@ -10,7 +10,7 @@
# /* See http://www.boost.org for most recent version. */
#
# include <boost/preprocessor/debug.hpp>
# include <libs/preprocessor/test/test.h>
# include "test.h"
BEGIN sizeof(BOOST_PP_ASSERT_MSG(0, "text") "") / sizeof(char) != 1 END
BEGIN sizeof(BOOST_PP_ASSERT_MSG(1, "text") "") / sizeof(char) == 1 END

View File

@ -9,4 +9,4 @@
#
# /* See http://www.boost.org for most recent version. */
#
# include <libs/preprocessor/test/facilities.cxx>
# include "facilities.cxx"

View File

@ -9,4 +9,4 @@
#
# /* See http://www.boost.org for most recent version. */
#
# include <libs/preprocessor/test/facilities.cxx>
# include "facilities.cxx"

View File

@ -13,7 +13,7 @@
# include <boost/preprocessor/facilities.hpp>
# include <boost/preprocessor/arithmetic/add.hpp>
# include <boost/preprocessor/arithmetic/mul.hpp>
# include <libs/preprocessor/test/test.h>
# include "test.h"
BEGIN BOOST_PP_APPLY(BOOST_PP_NIL) 0 == 0 END
BEGIN BOOST_PP_APPLY((0)) == 0 END

View File

@ -9,4 +9,4 @@
#
# /* See http://www.boost.org for most recent version. */
#
# include <libs/preprocessor/test/isempty.cxx>
# include "isempty.cxx"

View File

@ -9,4 +9,4 @@
#
# /* See http://www.boost.org for most recent version. */
#
# include <libs/preprocessor/test/isempty.cxx>
# include "isempty.cxx"

View File

@ -15,7 +15,7 @@
# include <boost/preprocessor/facilities/empty.hpp>
# include <boost/preprocessor/facilities/is_empty.hpp>
# include <libs/preprocessor/test/test.h>
# include "test.h"
#define DATA
#define OBJECT OBJECT2

View File

@ -9,4 +9,4 @@
#
# /* See http://www.boost.org for most recent version. */
#
# include <libs/preprocessor/test/isempty_variadic_standard_failure.cxx>
# include "isempty_variadic_standard_failure.cxx"

View File

@ -9,4 +9,4 @@
#
# /* See http://www.boost.org for most recent version. */
#
# include <libs/preprocessor/test/isempty_variadic_standard_failure.cxx>
# include "isempty_variadic_standard_failure.cxx"

View File

@ -10,7 +10,7 @@
# /* See http://www.boost.org for most recent version. */
#
# include <boost/preprocessor/facilities/is_empty.hpp>
# include <libs/preprocessor/test/test.h>
# include "test.h"
#if (BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_STRICT()) && !BOOST_PP_VARIADICS_MSVC

View File

@ -9,4 +9,4 @@
#
# /* See http://www.boost.org for most recent version. */
#
# include <libs/preprocessor/test/isempty_variadic_standard_failure2.cxx>
# include "isempty_variadic_standard_failure2.cxx"

View File

@ -9,4 +9,4 @@
#
# /* See http://www.boost.org for most recent version. */
#
# include <libs/preprocessor/test/isempty_variadic_standard_failure2.cxx>
# include "isempty_variadic_standard_failure2.cxx"

View File

@ -10,7 +10,7 @@
# /* See http://www.boost.org for most recent version. */
#
# include <boost/preprocessor/facilities/is_empty.hpp>
# include <libs/preprocessor/test/test.h>
# include "test.h"
#if (BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_STRICT()) && !BOOST_PP_VARIADICS_MSVC

View File

@ -13,7 +13,7 @@
#
# if !BOOST_PP_IS_SELFISH
#
# include <libs/preprocessor/test/iteration.h>
# include "iteration.h"
#
# define TEST(n) BEGIN n == n END
#
@ -37,7 +37,7 @@
#
# endif
#
# define BOOST_PP_INDIRECT_SELF <libs/preprocessor/test/iteration.cpp>
# define BOOST_PP_INDIRECT_SELF "iteration.cpp"
# include BOOST_PP_INCLUDE_SELF()
#
# else

View File

@ -16,19 +16,19 @@
# include <boost/preprocessor/control/expr_iif.hpp>
# include <boost/preprocessor/iteration.hpp>
# include <boost/preprocessor/logical/bitor.hpp>
# include <libs/preprocessor/test/test.h>
# include "test.h"
#
# define NO_FLAGS
#
# define BOOST_PP_ITERATION_PARAMS_1 (3, (1, 10, <libs/preprocessor/test/iteration.h>))
# define BOOST_PP_ITERATION_PARAMS_1 (3, (1, 10, "iteration.h"))
# include BOOST_PP_ITERATE()
#
# undef NO_FLAGS
#
# define BOOST_PP_ITERATION_PARAMS_1 (4, (1, 5, <libs/preprocessor/test/iteration.h>, 0x0001))
# define BOOST_PP_ITERATION_PARAMS_1 (4, (1, 5, "iteration.h", 0x0001))
# include BOOST_PP_ITERATE()
#
# define BOOST_PP_ITERATION_PARAMS_1 (4, (1, 5, <libs/preprocessor/test/iteration.h>, 0x0002))
# define BOOST_PP_ITERATION_PARAMS_1 (4, (1, 5, "iteration.h", 0x0002))
# include BOOST_PP_ITERATE()
#
# if BOOST_PP_LIMIT_ITERATION == 512
@ -53,7 +53,7 @@
) \
/* */
#
# define BOOST_PP_ITERATION_PARAMS_1 (4, (0, 512, <libs/preprocessor/test/iteration.h>, 0x0003))
# define BOOST_PP_ITERATION_PARAMS_1 (4, (0, 512, "iteration.h", 0x0003))
# include BOOST_PP_ITERATE()
#
# undef ITER100S
@ -78,7 +78,7 @@
) \
/* */
#
# define BOOST_PP_ITERATION_PARAMS_1 (4, (512, 0, <libs/preprocessor/test/iteration.h>, 0x0004))
# define BOOST_PP_ITERATION_PARAMS_1 (4, (512, 0, "iteration.h", 0x0004))
# include BOOST_PP_ITERATE()
#
# undef ITER50S
@ -127,7 +127,7 @@
) \
/* */
#
# define BOOST_PP_ITERATION_PARAMS_1 (4, (0, 1024, <libs/preprocessor/test/iteration.h>, 0x0005))
# define BOOST_PP_ITERATION_PARAMS_1 (4, (0, 1024, "iteration.h", 0x0005))
# include BOOST_PP_ITERATE()
#
# undef ITER100SA
@ -172,7 +172,7 @@
) \
/* */
#
# define BOOST_PP_ITERATION_PARAMS_1 (4, (1024, 0, <libs/preprocessor/test/iteration.h>, 0x0006))
# define BOOST_PP_ITERATION_PARAMS_1 (4, (1024, 0, "iteration.h", 0x0006))
# include BOOST_PP_ITERATE()
#
# undef ITER50SA
@ -197,7 +197,7 @@ struct BOOST_PP_CAT(Y, BOOST_PP_ITERATION()) { };
# elif BOOST_PP_ITERATION_DEPTH() == 1 \
&& BOOST_PP_ITERATION_FLAGS() == 0x0002
# define BOOST_PP_ITERATION_PARAMS_2 (3, (1, BOOST_PP_ITERATION(), <libs/preprocessor/test/iteration.h>))
# define BOOST_PP_ITERATION_PARAMS_2 (3, (1, BOOST_PP_ITERATION(), "iteration.h"))
# include BOOST_PP_ITERATE()
# elif BOOST_PP_ITERATION_DEPTH() == 1 \

View File

@ -11,4 +11,4 @@
#
# /* See http://www.boost.org for most recent version. */
#
# include <libs/preprocessor/test/list.cxx>
# include "list.cxx"

View File

@ -11,4 +11,4 @@
#
# /* See http://www.boost.org for most recent version. */
#
# include <libs/preprocessor/test/list.cxx>
# include "list.cxx"

View File

@ -26,7 +26,7 @@
# include <boost/preprocessor/seq/elem.hpp>
# include <boost/preprocessor/seq/size.hpp>
# include <boost/preprocessor/variadic/elem.hpp>
# include <libs/preprocessor/test/test.h>
# include "test.h"
# define LISTNIL BOOST_PP_NIL
# define LIST (4, (1, (5, (2, BOOST_PP_NIL))))

View File

@ -9,4 +9,4 @@
#
# /* See http://www.boost.org for most recent version. */
#
# include <libs/preprocessor/test/logical.cxx>
# include "logical.cxx"

View File

@ -9,4 +9,4 @@
#
# /* See http://www.boost.org for most recent version. */
#
# include <libs/preprocessor/test/logical.cxx>
# include "logical.cxx"

View File

@ -11,7 +11,7 @@
#
# include <boost/preprocessor/config/limits.hpp>
# include <boost/preprocessor/logical.hpp>
# include <libs/preprocessor/test/test.h>
# include "test.h"
BEGIN BOOST_PP_NOT(0) == 1 END
BEGIN BOOST_PP_NOT(2) == 0 END

View File

@ -11,4 +11,4 @@
#
# /* See http://www.boost.org for most recent version. */
#
# include <libs/preprocessor/test/punctuation.cxx>
# include "punctuation.cxx"

View File

@ -11,4 +11,4 @@
#
# /* See http://www.boost.org for most recent version. */
#
# include <libs/preprocessor/test/punctuation.cxx>
# include "punctuation.cxx"

View File

@ -10,7 +10,7 @@
# /* See http://www.boost.org for most recent version. */
#
# include <boost/preprocessor/punctuation.hpp>
# include <libs/preprocessor/test/test.h>
# include "test.h"
# define A_TUPLE (*,#,zz)
# define A_TUPLE2 (*,#,(zz,44,(e7)))

View File

@ -4,7 +4,7 @@
// https://www.boost.org/LICENSE_1_0.txt
#include <boost/preprocessor/comparison.hpp>
#include "test_macro.h"
# include "test_macro.h"
/* equality */

View File

@ -18,7 +18,7 @@
# include <boost/preprocessor/facilities/intercept.hpp>
# include <boost/preprocessor/logical/bitor.hpp>
# include <boost/preprocessor/repetition.hpp>
# include <libs/preprocessor/test/test.h>
# include "test.h"
# define MAX 10

View File

@ -9,4 +9,4 @@
#
# /* See http://www.boost.org for most recent version. */
#
# include <libs/preprocessor/test/selection.cxx>
# include "selection.cxx"

View File

@ -9,4 +9,4 @@
#
# /* See http://www.boost.org for most recent version. */
#
# include <libs/preprocessor/test/selection.cxx>
# include "selection.cxx"

View File

@ -11,7 +11,7 @@
#
# include <boost/preprocessor/config/limits.hpp>
# include <boost/preprocessor/selection.hpp>
# include <libs/preprocessor/test/test.h>
# include "test.h"
BEGIN BOOST_PP_MAX(2, 2) == 2 END
BEGIN BOOST_PP_MAX(2, 1) == 2 END

View File

@ -11,4 +11,4 @@
#
# /* See http://www.boost.org for most recent version. */
#
# include <libs/preprocessor/test/seq.cxx>
# include "seq.cxx"

View File

@ -11,4 +11,4 @@
#
# /* See http://www.boost.org for most recent version. */
#
# include <libs/preprocessor/test/seq.cxx>
# include "seq.cxx"

View File

@ -36,7 +36,7 @@
# include <boost/preprocessor/variadic/elem.hpp>
# include <boost/preprocessor/variadic/size.hpp>
# include <boost/preprocessor/variadic/has_opt.hpp>
# include <libs/preprocessor/test/test.h>
# include "test.h"
# define SEQ_NONE ()
# define SEQ (4)(1)(5)(2)

View File

@ -9,4 +9,4 @@
#
# /* See http://www.boost.org for most recent version. */
#
# include <libs/preprocessor/test/slot.cxx>
# include "slot.cxx"

View File

@ -9,4 +9,4 @@
#
# /* See http://www.boost.org for most recent version. */
#
# include <libs/preprocessor/test/slot.cxx>
# include "slot.cxx"

View File

@ -10,7 +10,7 @@
# /* See http://www.boost.org for most recent version. */
#
# include <boost/preprocessor/slot.hpp>
# include <libs/preprocessor/test/test.h>
# include "test.h"
# include <boost/preprocessor/slot/counter.hpp>
# define X() 4

View File

@ -9,4 +9,4 @@
#
# /* See http://www.boost.org for most recent version. */
#
# include <libs/preprocessor/test/stringize.cxx>
# include "stringize.cxx"

View File

@ -9,4 +9,4 @@
#
# /* See http://www.boost.org for most recent version. */
#
# include <libs/preprocessor/test/stringize.cxx>
# include "stringize.cxx"

View File

@ -15,7 +15,7 @@
# if !defined __cplusplus
#include <wchar.h>
#endif
# include <libs/preprocessor/test/test.h>
# include "test.h"
#define VDATA 1,2,3,4
#define NDATA

View File

@ -14,7 +14,7 @@
# ifndef BOOST_LIBS_PREPROCESSOR_REGRESSION_TEST_H
# define BOOST_LIBS_PREPROCESSOR_REGRESSION_TEST_H
#
# include <libs/preprocessor/test/test_macro.h>
# include <libs/preprocessor/test/test_main.h>
# include "test_macro.h"
#include "test_main.h"
#
# endif

View File

@ -11,4 +11,4 @@
#
# /* See http://www.boost.org for most recent version. */
#
# include <libs/preprocessor/test/tuple.cxx>
# include "tuple.cxx"

View File

@ -11,4 +11,4 @@
#
# /* See http://www.boost.org for most recent version. */
#
# include <libs/preprocessor/test/tuple.cxx>
# include "tuple.cxx"

View File

@ -25,8 +25,8 @@
# include <boost/preprocessor/variadic/size.hpp>
# include <boost/preprocessor/variadic/elem.hpp>
# include <boost/preprocessor/variadic/has_opt.hpp>
# include <libs/preprocessor/test/test.h>
# include <libs/preprocessor/test/tuple_elem_bug_test.cxx>
# include "test.h"
# include "tuple_elem_bug_test.cxx"
# define TUPLE (0, 1, 2, 3, 4, 5)
# define TUPLE_NONE ()

View File

@ -12,7 +12,7 @@
# include <boost/preprocessor/cat.hpp>
# include <boost/preprocessor/control/if.hpp>
# include <boost/preprocessor/tuple.hpp>
# include <libs/preprocessor/test/test.h>
# include "test.h"
#define TN_GEN_ONE(p) (1)
#define TN_GEN_ZERO(p) (0)

View File

@ -9,4 +9,4 @@
#
# /* See http://www.boost.org for most recent version. */
#
# include <libs/preprocessor/test/vaopt.cxx>
# include "vaopt.cxx"

View File

@ -9,7 +9,7 @@
#
# /* See http://www.boost.org for most recent version. */
#
# include <libs/preprocessor/test/test.h>
# include "test.h"
# include <boost/preprocessor/variadic/has_opt.hpp>
# if BOOST_PP_VARIADIC_HAS_OPT()

View File

@ -9,4 +9,4 @@
#
# /* See http://www.boost.org for most recent version. */
#
# include <libs/preprocessor/test/variadic.cxx>
# include "variadic.cxx"

View File

@ -9,4 +9,4 @@
#
# /* See http://www.boost.org for most recent version. */
#
# include <libs/preprocessor/test/variadic.cxx>
# include "variadic.cxx"

View File

@ -19,7 +19,7 @@
# include <boost/preprocessor/seq/size.hpp>
# include <boost/preprocessor/tuple/size.hpp>
# include <boost/preprocessor/tuple/elem.hpp>
# include <libs/preprocessor/test/test.h>
# include "test.h"
#define VDATA 0,1,2,3,4,5,6
#define VDATA_LARGE 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32