Fix regex test case.

[SVN r32939]
This commit is contained in:
John Maddock
2006-02-15 14:15:02 +00:00
parent cc16193bea
commit fcfaa82e3e
4 changed files with 11 additions and 9 deletions

View File

@ -1,7 +1,7 @@
#
# Regression test Jamfile for boost configuration setup.
# *** DO NOT EDIT THIS FILE BY HAND ***
# This file was automatically generated on Wed Feb 15 14:04:31 2006
# This file was automatically generated on Wed Feb 15 14:14:07 2006
# by libs/config/tools/generate.cpp
# Copyright John Maddock.
#
@ -123,7 +123,7 @@ test-suite "BOOST_HAS_TR1_RANDOM" :
test-suite "BOOST_HAS_TR1_REFERENCE_WRAPPER" :
[ run has_tr1_ref_wrap_pass.cpp <template>config_options ]
[ compile-fail has_tr1_ref_wrap_fail.cpp <template>config_options ] ;
test-suite "BOOST_HAS_TR1_ARRAY" :
test-suite "BOOST_HAS_TR1_REGEX" :
[ run has_tr1_regex_pass.cpp <template>config_options ]
[ compile-fail has_tr1_regex_fail.cpp <template>config_options ] ;
test-suite "BOOST_HAS_TR1_RESULT_OF" :

View File

@ -1,7 +1,7 @@
#
# Regression test Jamfile for boost configuration setup.
# *** DO NOT EDIT THIS FILE BY HAND ***
# This file was automatically generated on Wed Feb 15 14:04:42 2006
# This file was automatically generated on Wed Feb 15 14:14:07 2006
# by libs/config/tools/generate.cpp
# Copyright John Maddock.
#
@ -122,7 +122,7 @@ test-suite "BOOST_HAS_TR1_RANDOM" :
test-suite "BOOST_HAS_TR1_REFERENCE_WRAPPER" :
[ run has_tr1_ref_wrap_pass.cpp ]
[ compile-fail has_tr1_ref_wrap_fail.cpp ] ;
test-suite "BOOST_HAS_TR1_ARRAY" :
test-suite "BOOST_HAS_TR1_REGEX" :
[ run has_tr1_regex_pass.cpp ]
[ compile-fail has_tr1_regex_fail.cpp ] ;
test-suite "BOOST_HAS_TR1_RESULT_OF" :

View File

@ -929,6 +929,7 @@ void print_boost_macros()
PRINT_MACRO(BOOST_HAS_TR1_MEM_FN);
PRINT_MACRO(BOOST_HAS_TR1_RANDOM);
PRINT_MACRO(BOOST_HAS_TR1_REFERENCE_WRAPPER);
PRINT_MACRO(BOOST_HAS_TR1_REGEX);
PRINT_MACRO(BOOST_HAS_TR1_RESULT_OF);
PRINT_MACRO(BOOST_HAS_TR1_SHARED_PTR);
PRINT_MACRO(BOOST_HAS_TR1_TUPLE);
@ -997,6 +998,7 @@ void print_boost_macros()
// END GENERATED BLOCK
PRINT_MACRO(BOOST_INTEL);

View File

@ -1,4 +1,4 @@
// This file was automatically generated on Wed Feb 15 14:04:19 2006
// This file was automatically generated on Wed Feb 15 14:14:06 2006
// by libs/config/tools/generate.cpp
// Copyright John Maddock 2002-4.
// Use, modification and distribution are subject to the
@ -470,10 +470,10 @@ namespace boost_has_tr1_random = empty_boost;
#else
namespace boost_has_tr1_reference_wrapper = empty_boost;
#endif
#ifdef BOOST_HAS_TR1_ARRAY
#ifdef BOOST_HAS_TR1_REGEX
#include "boost_has_tr1_regex.ipp"
#else
namespace boost_has_tr1_array = empty_boost;
namespace boost_has_tr1_regex = empty_boost;
#endif
#ifdef BOOST_HAS_TR1_RESULT_OF
#include "boost_has_tr1_result_of.ipp"
@ -708,9 +708,9 @@ int main( int, char *[] )
std::cerr << "Failed test for BOOST_HAS_TR1_REFERENCE_WRAPPER at: " << __FILE__ << ":" << __LINE__ << std::endl;
++error_count;
}
if(0 != boost_has_tr1_array::test())
if(0 != boost_has_tr1_regex::test())
{
std::cerr << "Failed test for BOOST_HAS_TR1_ARRAY at: " << __FILE__ << ":" << __LINE__ << std::endl;
std::cerr << "Failed test for BOOST_HAS_TR1_REGEX at: " << __FILE__ << ":" << __LINE__ << std::endl;
++error_count;
}
if(0 != boost_has_tr1_result_of::test())