mirror of
https://github.com/boostorg/config.git
synced 2026-05-04 03:50:53 +02:00
Addition of BOOST_NO_CXX14_HDR_SHARED_MUTEX tests
This commit is contained in:
+4
-1
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# Regression test Jamfile for boost configuration setup.
|
||||
# *** DO NOT EDIT THIS FILE BY HAND ***
|
||||
# This file was automatically generated on Mon Oct 13 13:09:12 2014
|
||||
# This file was automatically generated on Fri Jun 26 21:48:00 2015
|
||||
# by libs/config/tools/generate.cpp
|
||||
# Copyright John Maddock.
|
||||
# Use, modification and distribution are subject to the
|
||||
@@ -337,6 +337,9 @@ test-suite "BOOST_NO_CXX14_DIGIT_SEPARATORS" :
|
||||
test-suite "BOOST_NO_CXX14_GENERIC_LAMBDAS" :
|
||||
[ run ../no_cxx14_generic_lambda_pass.cpp ]
|
||||
[ compile-fail ../no_cxx14_generic_lambda_fail.cpp ] ;
|
||||
test-suite "BOOST_NO_CXX14_HDR_SHARED_MUTEX" :
|
||||
[ run ../no_cxx14_hdr_shared_mutex_pass.cpp ]
|
||||
[ compile-fail ../no_cxx14_hdr_shared_mutex_fail.cpp ] ;
|
||||
test-suite "BOOST_NO_CXX14_INITIALIZED_LAMBDA_CAPTURES" :
|
||||
[ run ../no_cxx14_lambda_capture_pass.cpp ]
|
||||
[ compile-fail ../no_cxx14_lambda_capture_fail.cpp ] ;
|
||||
|
||||
@@ -1061,6 +1061,7 @@ void print_boost_macros()
|
||||
PRINT_MACRO(BOOST_NO_CXX14_DECLTYPE_AUTO);
|
||||
PRINT_MACRO(BOOST_NO_CXX14_DIGIT_SEPARATORS);
|
||||
PRINT_MACRO(BOOST_NO_CXX14_GENERIC_LAMBDAS);
|
||||
PRINT_MACRO(BOOST_NO_CXX14_HDR_SHARED_MUTEX);
|
||||
PRINT_MACRO(BOOST_NO_CXX14_INITIALIZED_LAMBDA_CAPTURES);
|
||||
PRINT_MACRO(BOOST_NO_CXX14_RETURN_TYPE_DEDUCTION);
|
||||
PRINT_MACRO(BOOST_NO_CXX14_VARIABLE_TEMPLATES);
|
||||
@@ -1123,6 +1124,7 @@ void print_boost_macros()
|
||||
PRINT_MACRO(BOOST_NO_USING_TEMPLATE);
|
||||
PRINT_MACRO(BOOST_NO_VOID_RETURNS);
|
||||
|
||||
|
||||
// END GENERATED BLOCK
|
||||
|
||||
PRINT_MACRO(BOOST_INTEL);
|
||||
|
||||
+11
-1
@@ -1,4 +1,4 @@
|
||||
// This file was automatically generated on Mon Oct 13 13:09:12 2014
|
||||
// This file was automatically generated on Fri Jun 26 21:48:00 2015
|
||||
// by libs/config/tools/generate.cpp
|
||||
// Copyright John Maddock 2002-4.
|
||||
// Use, modification and distribution are subject to the
|
||||
@@ -287,6 +287,11 @@ namespace boost_no_cxx14_digit_separators = empty_boost;
|
||||
#else
|
||||
namespace boost_no_cxx14_generic_lambdas = empty_boost;
|
||||
#endif
|
||||
#ifndef BOOST_NO_CXX14_HDR_SHARED_MUTEX
|
||||
#include "boost_no_cxx14_hdr_shared_mutex.ipp"
|
||||
#else
|
||||
namespace boost_no_cxx14_hdr_shared_mutex = empty_boost;
|
||||
#endif
|
||||
#ifndef BOOST_NO_CXX14_INITIALIZED_LAMBDA_CAPTURES
|
||||
#include "boost_no_cxx14_lambda_capture.ipp"
|
||||
#else
|
||||
@@ -1511,6 +1516,11 @@ int main( int, char *[] )
|
||||
std::cerr << "Failed test for BOOST_NO_CXX14_GENERIC_LAMBDAS at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
||||
++error_count;
|
||||
}
|
||||
if(0 != boost_no_cxx14_hdr_shared_mutex::test())
|
||||
{
|
||||
std::cerr << "Failed test for BOOST_NO_CXX14_HDR_SHARED_MUTEX at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
||||
++error_count;
|
||||
}
|
||||
if(0 != boost_no_cxx14_initialized_lambda_captures::test())
|
||||
{
|
||||
std::cerr << "Failed test for BOOST_NO_CXX14_INITIALIZED_LAMBDA_CAPTURES at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
||||
|
||||
@@ -0,0 +1,37 @@
|
||||
// This file was automatically generated on Fri Jun 26 21:47:59 2015
|
||||
// by libs/config/tools/generate.cpp
|
||||
// Copyright John Maddock 2002-4.
|
||||
// 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.//
|
||||
// Revision $Id$
|
||||
//
|
||||
|
||||
|
||||
// Test file for macro BOOST_NO_CXX14_HDR_SHARED_MUTEX
|
||||
// This file should not compile, if it does then
|
||||
// BOOST_NO_CXX14_HDR_SHARED_MUTEX should not be defined.
|
||||
// See file boost_no_cxx14_hdr_shared_mutex.ipp for details
|
||||
|
||||
// Must not have BOOST_ASSERT_CONFIG set; it defeats
|
||||
// the objective of this file:
|
||||
#ifdef BOOST_ASSERT_CONFIG
|
||||
# undef BOOST_ASSERT_CONFIG
|
||||
#endif
|
||||
|
||||
#include <boost/config.hpp>
|
||||
#include "test.hpp"
|
||||
|
||||
#ifdef BOOST_NO_CXX14_HDR_SHARED_MUTEX
|
||||
#include "boost_no_cxx14_hdr_shared_mutex.ipp"
|
||||
#else
|
||||
#error "this file should not compile"
|
||||
#endif
|
||||
|
||||
int main( int, char *[] )
|
||||
{
|
||||
return boost_no_cxx14_hdr_shared_mutex::test();
|
||||
}
|
||||
|
||||
@@ -0,0 +1,37 @@
|
||||
// This file was automatically generated on Fri Jun 26 21:47:59 2015
|
||||
// by libs/config/tools/generate.cpp
|
||||
// Copyright John Maddock 2002-4.
|
||||
// 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.//
|
||||
// Revision $Id$
|
||||
//
|
||||
|
||||
|
||||
// Test file for macro BOOST_NO_CXX14_HDR_SHARED_MUTEX
|
||||
// This file should compile, if it does not then
|
||||
// BOOST_NO_CXX14_HDR_SHARED_MUTEX should be defined.
|
||||
// See file boost_no_cxx14_hdr_shared_mutex.ipp for details
|
||||
|
||||
// Must not have BOOST_ASSERT_CONFIG set; it defeats
|
||||
// the objective of this file:
|
||||
#ifdef BOOST_ASSERT_CONFIG
|
||||
# undef BOOST_ASSERT_CONFIG
|
||||
#endif
|
||||
|
||||
#include <boost/config.hpp>
|
||||
#include "test.hpp"
|
||||
|
||||
#ifndef BOOST_NO_CXX14_HDR_SHARED_MUTEX
|
||||
#include "boost_no_cxx14_hdr_shared_mutex.ipp"
|
||||
#else
|
||||
namespace boost_no_cxx14_hdr_shared_mutex = empty_boost;
|
||||
#endif
|
||||
|
||||
int main( int, char *[] )
|
||||
{
|
||||
return boost_no_cxx14_hdr_shared_mutex::test();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user