Boost logo

Boost-Build :

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


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