mirror of
https://github.com/jwinterm/wownero.git
synced 2026-10-25 05:48:42 +01:00
Merge pull request #2720
110339f5 unit_tests: fix data dir determination (moneromooo-monero)
This commit is contained in:
@@ -66,7 +66,7 @@ int main(int argc, char** argv)
|
||||
return 1;
|
||||
|
||||
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()
|
||||
.append("tests").append("data");
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user