mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
c010710916
(Same content as bad revision https://phabricator.services.mozilla.com/D48230, but with a very small change to config/external/icu/data/moz.build to fix the build breakage.) Try push: https://treeherder.mozilla.org/#/jobs?repo=try&revision=833f6a69fcac689488a640b43e8e0bdaa086a56c Differential Revision: https://phabricator.services.mozilla.com/D48409 --HG-- extra : moz-landing-system : lando
34 lines
1.3 KiB
Python
34 lines
1.3 KiB
Python
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
|
# vim: set filetype=python:
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
@template
|
|
def GeneratedTestCertificate(name):
|
|
if not CONFIG['COMPILE_ENVIRONMENT']:
|
|
return
|
|
GeneratedFile(name, script='/security/manager/ssl/tests/unit/pycert.py',
|
|
inputs=['%s.certspec' % name])
|
|
# Turn RELATIVEDIR into list entry: like
|
|
# 'security/manager/ssl/tests/unit/bad_certs' ->
|
|
# TEST_HARNESS_FILES.xpcshell.security.manager.ssl.tests.unit.bad_certs.
|
|
files = TEST_HARNESS_FILES.xpcshell
|
|
for part in RELATIVEDIR.split('/'):
|
|
files = files[part]
|
|
files += ['!%s' % name]
|
|
|
|
@template
|
|
def GeneratedTestKey(name):
|
|
if not CONFIG['COMPILE_ENVIRONMENT']:
|
|
return
|
|
GeneratedFile(name, script='/security/manager/ssl/tests/unit/pykey.py',
|
|
inputs=['%s.keyspec' % name])
|
|
# Turn RELATIVEDIR into list entry: like
|
|
# 'security/manager/ssl/tests/unit/bad_certs' ->
|
|
# TEST_HARNESS_FILES.xpcshell.security.manager.ssl.tests.unit.bad_certs.
|
|
files = TEST_HARNESS_FILES.xpcshell
|
|
for part in RELATIVEDIR.split('/'):
|
|
files = files[part]
|
|
files += ['!%s' % name]
|