diff --git a/config.htm b/config.htm index 2c0d5164..d11b88f7 100644 --- a/config.htm +++ b/config.htm @@ -1376,13 +1376,13 @@ int test() } } -

Once the test code is in place, run the shell script "generate" that you will - find in the boost-root/libs/config/tools/ directory. This generates two .cpp - test files from the new test code, and adds the tests to the regression test - script, and the config_test.cpp test program. If you can't run shell scripts on - your platform then post a message on the boost mailing list, and someone will - run it for you. Finally add a new entry to config_info.cpp so that the new - macro gets printed out when that program is run.

+

+ Once the test code is in place, build and run the program "generate.cpp" that + you will find in the boost-root/libs/config/tools/ directory. This generates + two .cpp test files from the new test code, and adds the tests to the + regression test Jamfile, and the config_test.cpp test program. Finally add a + new entry to config_info.cpp so that the new macro gets printed out when that + program is run.

Adding New Feature Test Macros

When you need to add a macro that describes a feature that the standard does not require, follow the convention for adding a new defect macro (above), but diff --git a/test/config_info.cpp b/test/config_info.cpp index 2d2c3005..1e825e52 100644 --- a/test/config_info.cpp +++ b/test/config_info.cpp @@ -924,6 +924,7 @@ void print_boost_macros() PRINT_MACRO(BOOST_NO_INT64_T); PRINT_MACRO(BOOST_NO_INTEGRAL_INT64_T); PRINT_MACRO(BOOST_NO_INTRINSIC_WCHAR_T); + PRINT_MACRO(BOOST_NO_IS_ABSTRACT); PRINT_MACRO(BOOST_NO_LIMITS); PRINT_MACRO(BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS); PRINT_MACRO(BOOST_NO_LONG_LONG_NUMERIC_LIMITS); diff --git a/tools/generate b/tools/generate deleted file mode 100644 index 815022d1..00000000 --- a/tools/generate +++ /dev/null @@ -1,400 +0,0 @@ -#!/bin/sh -# (C) Copyright John Maddock 2001 - 2003. -# Use, modification and distribution are subject to 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/libs/config for the most recent version. - -#get date: -date_string=`date` - -# init config file: -cat > ../test/regression.cfg << EOF -// -// regression test script for boost configuration setup -// -run libs/config/test/config_info.cpp -run libs/config/test/config_test.cpp -run libs/config/test/limits_test.cpp -compile-fail threads/test_thread_fail1.cpp ; -compile-fail threads/test_thread_fail2.cpp ; - -EOF -cat > ../test/Jamfile << EOF -# -# Regression test Jamfile for boost configuration setup. -# *** DO NOT EDIT THIS FILE BY HAND *** -# This file was automatically generated on $date_string, -# by libs/config/tools/generate -# Copyright John Maddock. -# -# If you need to alter build preferences then set them in -# the template defined in options.jam. -# -subproject libs/config/test ; -# bring in the rules for testing -import testing ./options ; - -run config_info.cpp