Boost logo

Boost-Build :

Subject: [Boost-build] rule unit-test receive <dependency>s as params
From: Paulo Márcio Figueiredo Alves (pauloalves1986_at_[hidden])
Date: 2011-04-14 10:28:04


Hi,

  I'd like to run a test passing the <dependency>s as argument, like this:

# foo/jamfile.jam
exe another_exe : main.cpp ;

# test/jamfile.jam
exe my_test : main.cpp : <dependency>/foo/another_exe ;

my_test would be executed and receive the path of another_exe as a
param. If I could pass it named, would be even better. I want this to
run system tests.

Was my idea clear ? Is it possible ? Any better idea ?

Thank you

Paulo Márcio


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