diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-10-24 10:22:46 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-10-24 10:22:46 +0100 |
commit | 110339f5534369f1578ca140ed4fa899a28d7d76 (patch) | |
tree | ccd49d7ef3d264648afb97aeaead545f84d81760 /tests/unit_tests | |
parent | Merge pull request #2601 (diff) | |
download | monero-110339f5534369f1578ca140ed4fa899a28d7d76.tar.xz |
unit_tests: fix data dir determination
Diffstat (limited to 'tests/unit_tests')
-rw-r--r-- | tests/unit_tests/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit_tests/main.cpp b/tests/unit_tests/main.cpp index 1706c43c9..797d45a30 100644 --- a/tests/unit_tests/main.cpp +++ b/tests/unit_tests/main.cpp @@ -64,7 +64,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 |