Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlya Zverev <zverik@textual.ru>2015-07-03 11:30:36 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:54:03 +0300
commite6dd2783a9023c2321b2f91c0ed95da99549a8ff (patch)
tree88c8f7c77880fd843cfc3638575e2077732623e4 /integration_tests
parentb15e566b41a272b5a76b67ede12e643004963d2d (diff)
[testing] Fix names and other stuff by comments
Diffstat (limited to 'integration_tests')
-rw-r--r--integration_tests/osrm_test_tools.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/integration_tests/osrm_test_tools.cpp b/integration_tests/osrm_test_tools.cpp
index 0ab9784cc4..7449daf8ca 100644
--- a/integration_tests/osrm_test_tools.cpp
+++ b/integration_tests/osrm_test_tools.cpp
@@ -124,10 +124,11 @@ namespace integration
{
// Setting stored paths from testingmain.cpp
Platform & pl = GetPlatform();
- if (!testingOptions.dataPath.empty())
- pl.SetWritableDir(testingOptions.dataPath);
- if (!testingOptions.resourcePath.empty())
- pl.AddOptionalPath(testingOptions.resourcePath);
+ CommandLineOptions const & options = GetTestingOptions();
+ if (options.dataPath)
+ pl.SetWritableDirForTests(options.dataPath);
+ if (options.resourcePath)
+ pl.AddOptionalPath(options.resourcePath);
vector<LocalCountryFile> localFiles;
platform::FindAllLocalMaps(localFiles);