Use the "minimal" test tools, to simplify my life a bit

[SVN r20924]
This commit is contained in:
Douglas Gregor
2003-11-23 16:17:24 +00:00
parent b09e7f3d3d
commit 3f753feb4d
7 changed files with 8 additions and 15 deletions

View File

@ -12,19 +12,16 @@
</run-test> </run-test>
<run-test filename="allocator_test.cpp"> <run-test filename="allocator_test.cpp">
<lib>../../../libs/test/build/boost_test_exec_monitor</lib>
<purpose><para>Test the use of custom allocators.</para></purpose> <purpose><para>Test the use of custom allocators.</para></purpose>
<if-fails><para>Allocators are ignored by the implementation.</para></if-fails> <if-fails><para>Allocators are ignored by the implementation.</para></if-fails>
</run-test> </run-test>
<run-test filename="stateless_test.cpp"> <run-test filename="stateless_test.cpp">
<lib>../../../libs/test/build/boost_test_exec_monitor</lib>
<purpose><para>Test the optimization of stateless function objects in the Boost.Function library.</para></purpose> <purpose><para>Test the optimization of stateless function objects in the Boost.Function library.</para></purpose>
<if-fails><para>The exception-safety and performance guarantees given for stateless function objects may not be met by the implementation.</para></if-fails> <if-fails><para>The exception-safety and performance guarantees given for stateless function objects may not be met by the implementation.</para></if-fails>
</run-test> </run-test>
<run-test filename="lambda_test.cpp"> <run-test filename="lambda_test.cpp">
<lib>../../../libs/test/build/boost_test_exec_monitor</lib>
<purpose><para>Test the interaction between Boost.Function and Boost.Lambda.</para></purpose> <purpose><para>Test the interaction between Boost.Function and Boost.Lambda.</para></purpose>
<if-fails><para>Either Boost.Lambda does not work on the platform, or Boost.Function cannot safely be applied without the use of <functionname>boost::unlambda</functionname>.</para></if-fails> <if-fails><para>Either Boost.Lambda does not work on the platform, or Boost.Function cannot safely be applied without the use of <functionname>boost::unlambda</functionname>.</para></if-fails>
</run-test> </run-test>

View File

@ -29,11 +29,11 @@ DEPENDS all : test ;
[ run libs/function/test/function_n_test.cpp : : : : ] [ run libs/function/test/function_n_test.cpp : : : : ]
[ run libs/function/test/allocator_test.cpp <lib>../../../libs/test/build/boost_test_exec_monitor : : : : ] [ run libs/function/test/allocator_test.cpp : : : : ]
[ run libs/function/test/stateless_test.cpp <lib>../../../libs/test/build/boost_test_exec_monitor : : : : ] [ run libs/function/test/stateless_test.cpp : : : : ]
[ run libs/function/test/lambda_test.cpp <lib>../../../libs/test/build/boost_test_exec_monitor : : : : ] [ run libs/function/test/lambda_test.cpp : : : : ]
[ compile-fail libs/function/test/function_test_fail1.cpp : : : : ] [ compile-fail libs/function/test/function_test_fail1.cpp : : : : ]

View File

@ -7,8 +7,7 @@
// For more information, see http://www.boost.org // For more information, see http://www.boost.org
#define BOOST_INCLUDE_MAIN #include <boost/test/minimal.hpp>
#include <boost/test/test_tools.hpp>
#include <cassert> #include <cassert>
#include <functional> #include <functional>
#include <boost/function.hpp> #include <boost/function.hpp>

View File

@ -7,8 +7,7 @@
// For more information, see http://www.boost.org // For more information, see http://www.boost.org
#define BOOST_INCLUDE_MAIN #include <boost/test/minimal.hpp>
#include <boost/test/test_tools.hpp>
#include <boost/function.hpp> #include <boost/function.hpp>
using namespace std; using namespace std;

View File

@ -7,8 +7,7 @@
// For more information, see http://www.boost.org // For more information, see http://www.boost.org
#define BOOST_INCLUDE_MAIN #include <boost/test/minimal.hpp>
#include <boost/test/test_tools.hpp>
#include <boost/function.hpp> #include <boost/function.hpp>
using namespace std; using namespace std;

View File

@ -10,7 +10,7 @@
#include <iostream> #include <iostream>
#include <cstdlib> #include <cstdlib>
#include <boost/test/test_tools.hpp> #include <boost/test/minimal.hpp>
#include <boost/lambda/lambda.hpp> #include <boost/lambda/lambda.hpp>
#include <boost/lambda/bind.hpp> #include <boost/lambda/bind.hpp>
#include <boost/function.hpp> #include <boost/function.hpp>

View File

@ -7,8 +7,7 @@
// For more information, see http://www.boost.org // For more information, see http://www.boost.org
#define BOOST_INCLUDE_MAIN #include <boost/test/minimal.hpp>
#include <boost/test/test_tools.hpp>
#include <boost/function.hpp> #include <boost/function.hpp>
#include <stdexcept> #include <stdexcept>