mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-25 19:25:43 +00:00
f5673bd1ad
There are a number of things that were going wrong with XPCShell on windows, this patch address them: 1) We were erroring out in Automation.killAndGetStack(), both failing to produce a minidump and failing to kill the process. This patch fixes both these issues by using mozcrash instead. 2) Occasionally we were occasionally raising a psutil.NoSuchProcess error when attempting to kill the process after the test. This appears to be caused by a race condition, but is safe to ignore as if the process doesn't exist, then we don't need to kill it. 3) Spurious "Unable to remove directory" errors in cleanup. This uses mozfile.remove to remedy this. MozReview-Commit-ID: 1g5qO8fpM7R --HG-- extra : rebase_source : d8508d0f07e537e0b27e3377ccdbc20e1177d110 |
||
---|---|---|
.. | ||
example | ||
moz-http2 | ||
node-http2 | ||
dbg-actors.js | ||
head.js | ||
mach_commands.py | ||
mach_test_package_commands.py | ||
moz.build | ||
README | ||
remotexpcshelltests.py | ||
runxpcshelltests.py | ||
selftest.py | ||
xpcshell.eslintrc.js | ||
xpcshellcommandline.py |
Simple xpcshell-based test harness converted from netwerk/test/unit Some documentation at http://developer.mozilla.org/en/docs/Writing_xpcshell-based_unit_tests See also http://wiki.mozilla.org/SoftwareTesting:Tools:Simple_xpcshell_test_harness