Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r82758 - in trunk/boost/test: . detail
From: gennadiy.rozental_at_[hidden]
Date: 2013-02-06 20:26:24


Author: rogeeff
Date: 2013-02-06 04:01:28 EST (Wed, 06 Feb 2013)
New Revision: 82758
URL: http://svn.boost.org/trac/boost/changeset/82758

Log:
Disable new tools id there is no variadics, but enable variadics for PGI
Text files modified:
   trunk/boost/test/detail/config.hpp | 4 ++++
   trunk/boost/test/test_tools.hpp | 4 ++--
   2 files changed, 6 insertions(+), 2 deletions(-)

Modified: trunk/boost/test/detail/config.hpp
==============================================================================
--- trunk/boost/test/detail/config.hpp (original)
+++ trunk/boost/test/detail/config.hpp 2013-02-06 04:01:28 EST (Wed, 06 Feb 2013)
@@ -119,4 +119,8 @@
 #define BOOST_TEST_MAIN BOOST_TEST_MODULE
 #endif
 
+#ifdef __PGI
+#define BOOST_PP_VARIADICS 1
+#endif
+
 #endif // BOOST_TEST_CONFIG_HPP_071894GER

Modified: trunk/boost/test/test_tools.hpp
==============================================================================
--- trunk/boost/test/test_tools.hpp (original)
+++ trunk/boost/test/test_tools.hpp 2013-02-06 04:01:28 EST (Wed, 06 Feb 2013)
@@ -18,8 +18,8 @@
 // Boost.Test
 //#define BOOST_TEST_NO_OLD_TOOLS
 
-#if !defined(BOOST_PP_VARIADICS)
-//#define BOOST_TEST_NO_NEW_TOOLS
+#if !BOOST_PP_VARIADICS
+#define BOOST_TEST_NO_NEW_TOOLS
 #endif
 
 // #define BOOST_TEST_TOOLS_UNDER_DEBUGGER


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk