diff options
| author | Riccardo Spagni <ric@spagni.net> | 2017-11-14 15:16:23 +0200 |
|---|---|---|
| committer | Riccardo Spagni <ric@spagni.net> | 2017-11-14 15:16:23 +0200 |
| commit | 4754390725cdb4358ad302e4dc09b6a88e5e6d54 (patch) | |
| tree | e49990f0a14d2f244ceee2b9b96896dc22e192ab /tests/unit_tests/main.cpp | |
| parent | cdab85db413afdcd0c0e23c9a944bde2c8450ac5 (diff) | |
| parent | 110339f5534369f1578ca140ed4fa899a28d7d76 (diff) | |
| download | monzero-core-4754390725cdb4358ad302e4dc09b6a88e5e6d54.tar.gz monzero-core-4754390725cdb4358ad302e4dc09b6a88e5e6d54.tar.xz monzero-core-4754390725cdb4358ad302e4dc09b6a88e5e6d54.zip | |
Merge pull request #2720
110339f5 unit_tests: fix data dir determination (moneromooo-monero)
Diffstat (limited to 'tests/unit_tests/main.cpp')
| -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 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 |
