tests: pass data dir as arg

This fixes test failure on builds that happen
to be built in 'build/' instead of 'build/release'.

Use boost filesystem path type.
This commit is contained in:
redfish 2017-09-25 02:46:14 +00:00
parent 1f9058187c
commit 540d6fa3d5
5 changed files with 33 additions and 10 deletions

View file

@ -31,9 +31,12 @@
#pragma once
#include <atomic>
#include <boost/filesystem.hpp>
namespace unit_test
{
extern boost::filesystem::path data_dir;
class call_counter
{
public: