gecko-dev/testing/xpcshell
Alex Gaynor fb7715626d Bug 1370438 - The MOZ_DISABLE_CONTENT_SANDBOX environment variable now works on macOS and is used in the xpcshell tests; r=haik
This environment variable works on both Windows and Linux for force-disabling
the content sandbox, and now does so on macOS as well.

The xpcshell tests force disable the sandbox because they do things like bind()
sockets, which is not compatible with the content sandbox. This is needed now
because bug 1358223 was force upgrading the sandbox from level 0 (disabled) to
level 1 on beta channel, which caused breakage.

MozReview-Commit-ID: 5DGxtoDLp0C

--HG--
extra : rebase_source : 87edd138e8b711eace5cb8103c67feae0361e148
2017-06-07 15:30:09 -04:00
..
example Bug 1367235 - Additional changes for eslint on testing/xpcshell; r=Standard8 2017-05-25 07:32:44 -06:00
moz-http2 Bug 1352146 - Don't allow status phrases in http/2. r=mcmanus 2017-04-07 13:18:20 -07:00
node-http2 Bug 1355056 - replace (function(args) { /* do stuff using this */ }).bind(this) with arrow functions, r=jaws. 2017-04-27 00:25:45 +02:00
README
dbg-actors.js Bug 1367235 - Additional changes for eslint on testing/xpcshell; r=Standard8 2017-05-25 07:32:44 -06:00
head.js Bug 1367235 - Additional changes for eslint on testing/xpcshell; r=Standard8 2017-05-25 07:32:44 -06:00
mach_commands.py Bug 1340584 - Remove devicemanagerSUT and references to sutagent; r=wlach 2017-03-21 12:20:01 -06:00
mach_test_package_commands.py Bug 1347686 - Remove e10s argument from mach xpcshell test runner r=jmaher 2017-03-15 16:52:41 -04:00
moz.build Bug 1326465 - add BUG_COMPONENTS to testing/. r=gbrown,ted 2016-12-30 16:16:56 -05:00
python.ini Bug 1317970 - Use manifestparser manifests for python unit tests, r=chmanchester 2016-11-16 09:59:22 -05:00
remotexpcshelltests.py Bug 1355222 - When debug logging requested for android mach test commands, enable devicemanager logging; r=jmaher 2017-04-11 09:21:37 -06:00
runxpcshelltests.py Bug 1370438 - The MOZ_DISABLE_CONTENT_SANDBOX environment variable now works on macOS and is used in the xpcshell tests; r=haik 2017-06-07 15:30:09 -04:00
selftest.py Bug 1337667 - Un-skip xpcshell selftests for stylo now that they're passing. r=jryans 2017-05-17 12:58:49 -07:00
xpcshellcommandline.py Bug 1340584 - Remove devicemanagerSUT and references to sutagent; r=wlach 2017-03-21 12:20:01 -06: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