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
MochiKit
chrome Bug 1454813: Part 2b - Rename SpawnTask.js to AddTask.js. r=florian 2018-04-18 11:43:45 -07:00
dynamic
embed
manifests
pywebsocket
ssltunnel
static
tests Bug 1454813: Part 2b - Rename SpawnTask.js to AddTask.js. r=florian 2018-04-18 11:43:45 -07:00
Makefile.in
README.txt
ShutdownLeaksCollector.jsm
__init__.py
bisection.py
bootstrap.js
browser-harness.xul
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
chunkifyTests.js
gen_template.pl
harness.xul
install.rdf
jar.mn Bug 1454813: Part 2b - Rename SpawnTask.js to AddTask.js. r=florian 2018-04-18 11:43:45 -07:00
leaks.py
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
manifest.webapp
manifestLibrary.js
mochitest-e10s-utils.js
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
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
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
start_desktop.js

README.txt

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