gecko-dev/testing/mochitest
J.C. Jones 6fad8e3ff1 Bug 1441338 - Change pgo certificates to use certspec/keyspec files r=keeler r=franziskus
(This also fixes Bug 879740 and Bug 1204543.)

build/pgo/certs contains an NSS database set that has a bunch of hand-generated
certificates, and many of these hand-generated certificates are specifically
depended upon for a variety of unit tests. This patch changes all of these to
use the "pycert.py" and "pykey.py" utilities that produce deterministic keys
and certificates.

The naming convention here is new, and defined in the README. It is based on
the mochitest runtest.py naming convention that imports .ca and .client
PEM-encoded certificates.

Unfortunately, the updates to build/pgo/genpgocert.py to generate these files
depends on OpenSSL in order to produce PKCS12 archives for pk11tool to import
into NSS. This could be done with pure-NSS tooling, but it'd require some new
command line functionality, which is out-of-scope for this change.

Note that build/pgo/genpgocert.py no longer takes arguments when run. It's not
run automatically anywhere that I can see, but could (reasonably) be, now.

Differential Revision: https://phabricator.services.mozilla.com/D971

--HG--
extra : amend_source : bc389b9b0a807a4889feb14db439daa28635dfe9
2018-04-23 11:14:17 +02:00
..
BrowserTestUtils Bug 1446671 - convert mochitest/textcaret/test_browserui.xul test into a browser test, r=yzen, gijs 2018-04-11 16:13:30 -04:00
chrome Bug 1454813: Part 2b - Rename SpawnTask.js to AddTask.js. r=florian 2018-04-18 11:43:45 -07:00
dynamic
embed
manifests
MochiKit
pywebsocket
ssltunnel Bug 1394734 - Replace CONFIG['GNU_C*'] by CONFIG['CC_TYPE'] r=glandium 2017-12-07 22:09:15 +01:00
static
tests Bug 1454813: Part 2b - Rename SpawnTask.js to AddTask.js. r=florian 2018-04-18 11:43:45 -07:00
__init__.py
bisection.py Backed out changeset dbe60b600dc0 (bug 1397853) for failining linter py-compat at testing/mochitest/runtests.py:2236. r=backout 2017-09-28 14:58:36 +02:00
bootstrap.js Bug 1444973 - Remove browser-test-overlay.xul. r=ahal 2018-03-13 17:33:33 -07:00
browser-harness.xul Bug 1445551: Part 1a - Add uses-unsafe-cpows annotation to mochitest harness. r=mconley 2018-03-13 19:11:10 -07:00
browser-test.js Bug 1454813: Part 1b - Stop automatically exposing Task singleton to browser tests. r=florian 2018-04-19 14:52:47 -07:00
chrome-harness.js Bug 1433175 - scripted patch to replace Components.classes[, Components.interfaces.nsI, Components.utils. and Components.results. with Cc, Ci, Cu and Cr, r=Mossop. 2018-02-28 18:51:33 +01:00
chunkifyTests.js
gen_template.pl
harness.xul Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian 2018-02-06 09:36:57 -08:00
install.rdf Bug 1446676: Part 1b - Convert automation overlay extensions to bootstrapped extensions. r=aswan 2018-03-16 21:31:04 -07:00
jar.mn Bug 1454813: Part 2b - Rename SpawnTask.js to AddTask.js. r=florian 2018-04-18 11:43:45 -07:00
leaks.py Bug 1395935 - Include leaks in mochitest summary fail count; r=ahal 2017-11-23 10:02:22 -07:00
mach_commands.py Bug 1445716 - Add Android mach command 'geckoview-junit'; r=jmaher 2018-04-18 14:43:35 -06:00
mach_test_package_commands.py Bug 1429158 - Use 'mach' format by default for one-click-loaner mochitests, r=jmaher 2018-01-09 14:34:27 -05:00
Makefile.in Bug 1443246 - Don't sign Robocop APK during stage-package. r=gbrown 2018-03-05 11:20:16 -08:00
manifest.webapp
manifestLibrary.js Bug 1445551: Part 1a - Add uses-unsafe-cpows annotation to mochitest harness. r=mconley 2018-03-13 19:11:10 -07:00
mochitest_options.py Bug 1454404 - Pass adb path from Android mach commands to test harnesses; r=jmaher 2018-04-16 14:05:32 -06:00
mochitest-e10s-utils.js
moz.build Bug 1445716 - Add runjunit.py, a test harness for junit tests on Android devices; r=jmaher 2018-04-18 14:43:33 -06:00
nested_setup.js
pywebsocket_wrapper.py Backed out changeset dbe60b600dc0 (bug 1397853) for failining linter py-compat at testing/mochitest/runtests.py:2236. r=backout 2017-09-28 14:58:36 +02:00
README.txt
redirect.html
rungeckoview.py Bug 1445716 - Add runjunit.py, a test harness for junit tests on Android devices; r=jmaher 2018-04-18 14:43:33 -06:00
runjunit.py Bug 1445716 - Add runjunit.py, a test harness for junit tests on Android devices; r=jmaher 2018-04-18 14:43:33 -06:00
runrobocop.py Bug 1454404 - Pass adb path from Android mach commands to test harnesses; r=jmaher 2018-04-16 14:05:32 -06:00
runtests.py Bug 1441338 - Change pgo certificates to use certspec/keyspec files r=keeler r=franziskus 2018-04-23 11:14:17 +02:00
runtestsremote.py Bug 1454404 - Pass adb path from Android mach commands to test harnesses; r=jmaher 2018-04-16 14:05:32 -06:00
server.js Bug 1453596 - [mochitest] Throw errors instead of strings to get line numbers. r=gbrown 2018-04-12 12:10:26 +02:00
shutdown-leaks-collector.js Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian 2018-01-29 15:20:18 -08:00
ShutdownLeaksCollector.jsm Bug 888600 - Move ContentFrameMessageManager to WebIDL. Part 6: Mark some IDL interfaces as non-scriptable. r=bz. 2018-03-01 20:19:56 +01:00
start_desktop.js

See https://developer.mozilla.org/en/docs/Mochitest for detailed information on running and writing mochitests.