Boost logo

Boost-Build :

Subject: Re: [Boost-build] really dumb bjam question(2)
From: Robert Ramey (ramey_at_[hidden])
Date: 2012-07-15 01:09:49

Steven Watanabe wrote:
> I don't understand. --dump-tests is intended to
> be used by the automated regression test system.
> All is does it to print a list of test cases.
> I've never used it for my own tests.
> The log should indicate which tests failed
> and the output from them. What more do you need?
> If bjam just says:
> "...found 7263 targets..."
> it means that all the targets are up to date
> which implies that all the tests passed.

Ahh - I use in the script to
produce an html table with the cumulative results.
Basically to run regression tests on one library
on my machine. That's what I need the --dump-tests for.

What I would really like to have is to be able
to define some target like "test_results" so I wouldn't
need the scripts . But this would probably be a lot
more complicated than the current script so I
won't ask for this..

> I expect it to work too, and it does for me.
> Can you reduce this to a small self-contained
> project that I can look at?

whoops - my mistake - the above case does work. The
case I would like to see work is

import os ;


project safe_numerics
    # : source-location ... # not needed for header files
    : requirements
    # : default-build - default none
    # : build-dir - default = ./bin

I've also tried

        <include>[ os.environ BOOST_ROOT ]

which didn't work either. My intention is to permit the
current value of environmental BOOST_ROOT to be passed
as the include directory.

Robert Ramey

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