mirror of
https://github.com/monero-project/monero.git
synced 2025-12-11 06:57:44 -05: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