aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/unit_tests/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit_tests/main.cpp b/tests/unit_tests/main.cpp
index a6d398883..76f2b2749 100644
--- a/tests/unit_tests/main.cpp
+++ b/tests/unit_tests/main.cpp
@@ -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