mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
unit_tests: fix data dir determination
This commit is contained in:
parent
8d511f3c24
commit
110339f553
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ int main(int argc, char** argv)
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
if (vm["data-dir"].defaulted())
|
if (vm["data-dir"].defaulted())
|
||||||
unit_test::data_dir = boost::filesystem::path(epee::string_tools::get_current_module_folder())
|
unit_test::data_dir = boost::filesystem::canonical(boost::filesystem::path(epee::string_tools::get_current_module_folder()))
|
||||||
.parent_path().parent_path().parent_path().parent_path()
|
.parent_path().parent_path().parent_path().parent_path()
|
||||||
.append("tests").append("data");
|
.append("tests").append("data");
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue