13 Nov
2017
13 Nov
'17
9:06 p.m.
AMDG On 11/13/2017 01:54 PM, Robert Ramey via Boost wrote:
<snip> 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.
In Christ, Steven Watanabe