|
Boost-Build : |
Subject: [Boost-build] using <dependency> in Bjam
From: Robert Ramey (ramey_at_[hidden])
Date: 2009-03-25 16:40:36
There are a bunch of tests in the serialization library which make no
sense to run if the compiler/library doesn't support wide character i/o.
In order to skip these, I've included the following rule in the jamfile.v2.
It doesn't seem to be skipping tests. What am I missing here?
Robert Ramey
# each of the following tests is run with each type of archive
rule run-winvoke ( test-name : sources * : defns * )
{
local save-test = [ dependency-save-test $(test-name) ] ;
local tests ;
tests += [
run-template $(test-name)
: # sources
$(sources)
..build/boost_serialization
..build/boost_wserialization
: # requirements
<define>$(defns)
<define>BOOST_LIB_DIAGNOSTIC=1
# both stlport and msvc6 define iswspace
<toolset>msvc,<stdlib>stlport:<linkflags>"-force:multiple"
<dependency>$(save-test)
<dependency>../../config/test/all//BOOST_NO_STD_WSTREAMBUF
] ;
return $(tests) ;
}
Boost-Build 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