$include_dir="/home/hyper-archives/boost-build/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-build] Current directory in unit tests
From: Ian Emmons (iemmons_at_[hidden])
Date: 2009-01-27 12:59:17
On a "run" or "unit-test" target, is there are way to set the current
working directory for the test executable? I'm thinking it might look
something like this:
path-constant testDir : .. ;
run
[ glob *.cpp ]
/site-config//BoostUnitTest
: # args
: # input files
: <include>.
<threading>multi
<working-directory>$(testDir)
: ParliamentTest
: # default build
;
Thanks,
Ian