Boost logo

Boost-Build :

Subject: [Boost-build] Running tests with executable built by another target
From: Sven Van Echelpoel (sven.van.echelpoel_at_[hidden])
Date: 2009-01-29 09:08:12


Hi,

I want to run some tests with an executable I have built with some exe
rule. How do I do this?

E.g. I have this:

exe my-exe : main.cpp ;

unit-test my-exe-test
  : [ ??? my-exe : <args come here> ]
      ^^^
    What comes here?
  ;

I've tried run, but it tries to link a test executable with my-exe as a
dependency.

Any help would be appreciated,

SVen


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