Bug 1471576 - Use reset/dump of coverage counters on Windows too. r=jmaher

--HG--
extra : rebase_source : 793f3a8f5038e1b4007a4543139e64aa0085c642
This commit is contained in:
Marco Castelluccio 2018-10-23 10:48:43 +02:00
Родитель 992f202202
Коммит 089fa366b1
1 изменённых файлов: 1 добавлений и 3 удалений

Просмотреть файл

@ -253,9 +253,7 @@ class CodeCoverageMixin(SingleTestMixin):
env['GCOV_PREFIX'] = self.gcov_dir
# Set the GCOV/JSVM directories where counters will be dumped in per-test mode.
# Resetting/dumping is only available on Linux for the time being
# (https://bugzilla.mozilla.org/show_bug.cgi?id=1471576).
if self.per_test_coverage and not is_baseline_test and self._is_linux():
if self.per_test_coverage and not is_baseline_test:
env['GCOV_RESULTS_DIR'] = tempfile.mkdtemp()
env['JSVM_RESULTS_DIR'] = tempfile.mkdtemp()