diff options
author | Lev Dragunov <l.dragunov@corp.mail.ru> | 2015-09-03 17:34:27 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 03:05:24 +0300 |
commit | dffe20c50b98b1550cd33dcb6487dbb5ed20fada (patch) | |
tree | 2a9a8b2bec6a7a70c97a7516aa50c0aa9ccae088 /map | |
parent | ffc1bb515fa3a4082695ca72f59cf603885cb96e (diff) |
[tests] Index cleaning for jenkinss tests.
Diffstat (limited to 'map')
-rw-r--r-- | map/mwm_tests/mwm_foreach_test.cpp | 2 |
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; |