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
parent ad1ddfd4ad
commit 262874d1d3

View File

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