mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
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:
parent
1f9058187c
commit
540d6fa3d5
5 changed files with 33 additions and 10 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue