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
path: root/map
diff options
context:
space:
mode:
authorLev Dragunov <l.dragunov@corp.mail.ru>2015-09-03 17:34:27 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 03:05:24 +0300
commitdffe20c50b98b1550cd33dcb6487dbb5ed20fada (patch)
tree2a9a8b2bec6a7a70c97a7516aa50c0aa9ccae088 /map
parentffc1bb515fa3a4082695ca72f59cf603885cb96e (diff)
[tests] Index cleaning for jenkinss tests.
Diffstat (limited to 'map')
-rw-r--r--map/mwm_tests/mwm_foreach_test.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/map/mwm_tests/mwm_foreach_test.cpp b/map/mwm_tests/mwm_foreach_test.cpp
index f9bf63dfa4..13ce55aac5 100644
--- a/map/mwm_tests/mwm_foreach_test.cpp
+++ b/map/mwm_tests/mwm_foreach_test.cpp
@@ -253,6 +253,8 @@ void RunTest(string const & countryFileName)
src1.InitClassificator();
platform::LocalCountryFile localFile(platform::LocalCountryFile::MakeForTesting(countryFileName));
+ // Clean indexes to avoid jenkins errors.
+ platform::CountryIndexes::DeleteFromDisk(localFile);
UNUSED_VALUE(src1.RegisterMap(localFile));
vector<m2::RectD> rects;