Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r67086 - trunk/libs/graph/test
From: jewillco_at_[hidden]
Date: 2010-12-07 12:35:25


Author: jewillco
Date: 2010-12-07 12:35:24 EST (Tue, 07 Dec 2010)
New Revision: 67086
URL: http://svn.boost.org/trac/boost/changeset/67086

Log:
Using incantation from Boost.Math (test_laplace.cpp) to try to get Boost.Test linking to work
Text files modified:
   trunk/libs/graph/test/Jamfile.v2 | 2 +-
   trunk/libs/graph/test/stoer_wagner_test.cpp | 2 --
   2 files changed, 1 insertions(+), 3 deletions(-)

Modified: trunk/libs/graph/test/Jamfile.v2
==============================================================================
--- trunk/libs/graph/test/Jamfile.v2 (original)
+++ trunk/libs/graph/test/Jamfile.v2 2010-12-07 12:35:24 EST (Tue, 07 Dec 2010)
@@ -120,7 +120,7 @@
     [ run incremental_components_test.cpp ]
     [ run random_spanning_tree_test.cpp ../build//boost_graph ]
     [ run graphml_test.cpp ../build//boost_graph : : "graphml_test.xml" ]
- [ run stoer_wagner_test.cpp ../../test/build : $(TEST_DIR) ]
+ [ run stoer_wagner_test.cpp ../../test/build//boost_unit_test_framework/<link>static : $(TEST_DIR) ]
     ;
 
 # Run SDB tests only when -sSDB= is set.

Modified: trunk/libs/graph/test/stoer_wagner_test.cpp
==============================================================================
--- trunk/libs/graph/test/stoer_wagner_test.cpp (original)
+++ trunk/libs/graph/test/stoer_wagner_test.cpp 2010-12-07 12:35:24 EST (Tue, 07 Dec 2010)
@@ -3,8 +3,6 @@
 // (See accompanying file LICENSE_1_0.txt or the copy at
 // http://www.boost.org/LICENSE_1_0.txt)
 
-// #define BOOST_TEST_DYN_LINK 1
-#define BOOST_TEST_NO_LIB 1
 #include <fstream>
 #include <iostream>
 #include <map>


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