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:
authorTimofey <t.danshin@corp.mail.ru>2016-02-10 12:01:00 +0300
committerSergey Yershov <yershov@corp.mail.ru>2016-03-23 16:17:02 +0300
commitce020308dbb6afc4fae2666f9fbfd8b1def454cf (patch)
tree138cb8c28d9844b3fb703259743c5e847d0bae88
parent90ae342debbd23a26bc7110385a0d77a496c6aa8 (diff)
Added the line lost while cleaning up the code, plus some debug logging.
-rw-r--r--tools/integration_tests_runner.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/integration_tests_runner.py b/tools/integration_tests_runner.py
index 280938bf7f..b85239a71e 100644
--- a/tools/integration_tests_runner.py
+++ b/tools/integration_tests_runner.py
@@ -72,9 +72,10 @@ class IntegrationRunner:
def exec_test(self, test_file, test, clean_env=False):
- keys = '--filter={test}'.format(test=test)
+ keys = '"--filter={test}"'.format(test=test)
if clean_env:
tmpdir = tempfile.mkdtemp()
+ keys = '{old_key} "--user_resource_path={tmpdir}"'.format(old_key=keys, tmpdir=tmpdir)
logging.debug("Temp dir: {tmpdir}".format(tmpdir=tmpdir))
out, err, result = self.get_tests_from_exec_file(test_file, keys)
@@ -94,6 +95,7 @@ class IntegrationRunner:
def get_tests_from_exec_file(self, test, keys):
spell = "{test} {keys}".format(test=path.join(self.workspace_path, test), keys=keys)
+ logging.debug(">> {spell}".format(spell=spell))
process = subprocess.Popen(spell.split(" "),
stdout=subprocess.PIPE,