Boost logo

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
        : # requirements
            # both stlport and msvc6 define iswspace
    ] ;
    return $(tests) ;

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at