Skip to content

Commit 3f753fe

Browse files
committed
Use the "minimal" test tools, to simplify my life a bit
[SVN r20924]
1 parent b09e7f3 commit 3f753fe

7 files changed

Lines changed: 8 additions & 15 deletions

File tree

doc/tests.xml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,16 @@
1212
</run-test>
1313

1414
<run-test filename="allocator_test.cpp">
15-
<lib>../../../libs/test/build/boost_test_exec_monitor</lib>
1615
<purpose><para>Test the use of custom allocators.</para></purpose>
1716
<if-fails><para>Allocators are ignored by the implementation.</para></if-fails>
1817
</run-test>
1918

2019
<run-test filename="stateless_test.cpp">
21-
<lib>../../../libs/test/build/boost_test_exec_monitor</lib>
2220
<purpose><para>Test the optimization of stateless function objects in the Boost.Function library.</para></purpose>
2321
<if-fails><para>The exception-safety and performance guarantees given for stateless function objects may not be met by the implementation.</para></if-fails>
2422
</run-test>
2523

2624
<run-test filename="lambda_test.cpp">
27-
<lib>../../../libs/test/build/boost_test_exec_monitor</lib>
2825
<purpose><para>Test the interaction between Boost.Function and Boost.Lambda.</para></purpose>
2926
<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>
3027
</run-test>

test/Jamfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ DEPENDS all : test ;
2929

3030
[ run libs/function/test/function_n_test.cpp : : : : ]
3131

32-
[ run libs/function/test/allocator_test.cpp <lib>../../../libs/test/build/boost_test_exec_monitor : : : : ]
32+
[ run libs/function/test/allocator_test.cpp : : : : ]
3333

34-
[ run libs/function/test/stateless_test.cpp <lib>../../../libs/test/build/boost_test_exec_monitor : : : : ]
34+
[ run libs/function/test/stateless_test.cpp : : : : ]
3535

36-
[ run libs/function/test/lambda_test.cpp <lib>../../../libs/test/build/boost_test_exec_monitor : : : : ]
36+
[ run libs/function/test/lambda_test.cpp : : : : ]
3737

3838
[ compile-fail libs/function/test/function_test_fail1.cpp : : : : ]
3939

test/allocator_test.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@
77

88
// For more information, see http://www.boost.org
99

10-
#define BOOST_INCLUDE_MAIN
11-
#include <boost/test/test_tools.hpp>
10+
#include <boost/test/minimal.hpp>
1211
#include <cassert>
1312
#include <functional>
1413
#include <boost/function.hpp>

test/function_test_fail1.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@
77

88
// For more information, see http://www.boost.org
99

10-
#define BOOST_INCLUDE_MAIN
11-
#include <boost/test/test_tools.hpp>
10+
#include <boost/test/minimal.hpp>
1211
#include <boost/function.hpp>
1312

1413
using namespace std;

test/function_test_fail2.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@
77

88
// For more information, see http://www.boost.org
99

10-
#define BOOST_INCLUDE_MAIN
11-
#include <boost/test/test_tools.hpp>
10+
#include <boost/test/minimal.hpp>
1211
#include <boost/function.hpp>
1312

1413
using namespace std;

test/lambda_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#include <iostream>
1111
#include <cstdlib>
1212

13-
#include <boost/test/test_tools.hpp>
13+
#include <boost/test/minimal.hpp>
1414
#include <boost/lambda/lambda.hpp>
1515
#include <boost/lambda/bind.hpp>
1616
#include <boost/function.hpp>

test/stateless_test.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@
77

88
// For more information, see http://www.boost.org
99

10-
#define BOOST_INCLUDE_MAIN
11-
#include <boost/test/test_tools.hpp>
10+
#include <boost/test/minimal.hpp>
1211
#include <boost/function.hpp>
1312
#include <stdexcept>
1413

0 commit comments

Comments
 (0)