Boost logo

Boost-Build :

From: Rene Rivera (grafik.list_at_[hidden])
Date: 2005-02-22 00:45:43

Jody Hagins wrote:
> On Mon, 21 Feb 2005 17:28:04 -0500
> David Abrahams <dave_at_[hidden]> wrote:
>>What problems are you having? It might be best to take this to the
>>jamboost list.
> Thanks. I am having several problems, but the first can be summarized
> in an earlier post to this group

It ended up that the easiest way to support what you want was to extend
testing.jam slightly.

It is now possible to pass in dependent targets as input files to test
run targets. Or in English.. You can specify things like <dll>something
in the "input-files" argument of "run" and "run-fail" tests. The
dependency will get built and the resulting full paths to the files
passed as arguments to the test. I added an example, which is what I
used to test the functionality, in

One caveat to be aware of is that on certain platforms, i.e. Windows,
some targets (DLLs) generate more than one file and *all* files are
passed to the test. Which for the example above means it outputs
something akin to:

====== BEGIN OUTPUT ======
arg #0 =
arg #1 =
arg #2 =
arg #3 =
arg #4 =

====== END OUTPUT ======

So your test program will have to sort out which of the two files is the
shared library.


-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. -
-- rrivera/ - grafik/ - 102708583/icq

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