Bug 1718298 - Avoid 'invalid handle' errors in xpcshell selftests in TC; r=jmaher

Differential Revision: https://phabricator.services.mozilla.com/D118839
This commit is contained in:
Geoff Brown 2021-06-25 19:10:39 +00:00
Родитель ad1ddfd4ad
Коммит 262874d1d3
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -1174,7 +1174,7 @@ class DesktopUnittest(TestingMixin, MercurialScript, MozbaseMixin, CodeCoverageM
# for python < 3.7; avoid by running xpcshell self-tests only once # for python < 3.7; avoid by running xpcshell self-tests only once
# per test-verify run. # per test-verify run.
if ( if (
self.verify_enabled (self.verify_enabled or self.per_test_coverage)
and sys.platform.startswith("win") and sys.platform.startswith("win")
and sys.version_info < (3, 7) and sys.version_info < (3, 7)
and "--self-test" in final_cmd and "--self-test" in final_cmd