gecko-dev/testing/xpcshell
Mike Hommey b0a07b2297 Bug 1654479 - Clear up processes after shutting them down in XPCShellTests. r=gbrown
When using unittest rather than mozunit, something seems to be holding
onto the XPCShellTests, which keeps the subprocess objects around even
after we shut them down, and in turn, that keeps the pipe file
descriptors associated with the subprocesses around, effectively leaking
them for the duration of the entire selftest, which in some cases could
exhaust the system resources allocated to the selftest process.

Differential Revision: https://phabricator.services.mozilla.com/D84471
2020-07-23 12:18:24 +00:00
..
dns-packet Bug 1623126 - HTTPSSVC support for dns-packet r=dragana 2020-05-04 19:54:23 +00:00
example Bug 1651165 - Rename idle service r=Gijs,geckoview-reviewers,snorp 2020-07-20 16:06:59 +00:00
moz-http2 Bug 1623126 - Add test for HTTPSSVC DNS record r=dragana,necko-reviewers 2020-05-04 19:55:31 +00:00
node-http2 Bug 1598971 - codespell: Fix typos in the doc r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,ato 2019-11-25 10:06:12 +00:00
node-ip Bug 1582051 - Use Buffer.from and Buffer.alloc in moz-http2.js & friends r=kershaw 2019-09-18 13:44:16 +00:00
README
dbg-actors.js Bug 1614791 - Rename DebuggerServer to DevToolsServer. r=jdescottes 2020-02-17 10:28:24 +00:00
head.js Bug 1651165 - Rename idle service r=Gijs,geckoview-reviewers,snorp 2020-07-20 16:06:59 +00:00
mach_commands.py Bug 1654319 - Remove some flake8 exclusions; r=jmaher 2020-07-21 17:10:51 +00:00
mach_test_package_commands.py
moz.build
python.ini
remotexpcshelltests.py Bug 1486004 - Part 17 - Update remote xpcshell-tests to support unrooted android devices using mozdevice 4.0.0, r=gbrown 2020-07-18 03:36:23 +00:00
runxpcshelltests.py Bug 1654479 - Clear up processes after shutting them down in XPCShellTests. r=gbrown 2020-07-23 12:18:24 +00:00
selftest.py Bug 1654319 - Remove some flake8 exclusions; r=jmaher 2020-07-21 17:10:51 +00:00
xpcshellcommandline.py Bug 1651820 - Fix broken xpcshell artifact builds by pointing directly to the `http3server` path r=gbrown 2020-07-21 20:47:27 +00:00

README

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