gecko-dev/testing/xpcshell
Alex Gaynor fcd28c5b2a Bug 1294641 - whitelist reads from the .app directory in the macOS sandbox r=froydnj,haik
This patch does a few things:
a) Adds the resources location from the .app directory to the read whitelist
b) When it's a non-packaged build, mach run (and various mach tests) set an environment variable for the repo location which we allow reads from.

r=haik,froydnj

MozReview-Commit-ID: KNvAoUs5Ati

--HG--
extra : rebase_source : 81ba8bfee0ca96979cf8e30d75cdd47f06bc10ea
2017-04-07 14:53:19 -04:00
..
example Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02: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 1355277 - change h2 origin frame codepoint to 0xc r=nwgh 2017-04-10 21:47:07 -04:00
README
dbg-actors.js Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
head.js Bug 1355161 - script-generated patch to replace .{currentThread,mainThread}.dispatch(..., Ci.nsIThread.DISPATCH_NORMAL) with .dispatchToMainThread(...), r=froydnj. 2017-04-14 18:29:12 +02: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 1294641 - whitelist reads from the .app directory in the macOS sandbox r=froydnj,haik 2017-04-07 14:53:19 -04:00
selftest.py Bug 1337679 - stylo: Disable currently crashing xpcshell tests; r=ted 2017-02-10 17:59:43 -08: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