Subject: Re: [boost] [test] [build] best practices for looking up data files from test executables
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2017-11-13 21:06:59
On 11/13/2017 01:54 PM, Robert Ramey via Boost wrote:
> Hmm - I do this in serialization library. My believe is that the tests
> are run while the current directory is set to the test directory.
Boost.Build never changes the current directory.
If you run the tests from the test directory, then
this will work. If you run them from somewhere else
(say $BOOST_ROOT/status), then it won't.
> So if
> you put a copy of your external data as file in your test directory, you
> should be able to just open it without including any prefix.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk