mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-19 23:07:33 +09:00
nss: update nss to hg rev 395a93dbc02e with vc2013 patch applied
This commit is contained in:
parent
50f657b9c7
commit
b0e724dc85
84 changed files with 14198 additions and 661 deletions
|
|
@ -17,6 +17,7 @@ import platform
|
|||
import tempfile
|
||||
|
||||
from hashlib import sha256
|
||||
from gtests.common.wycheproof.genTestVectors import generate_test_vectors
|
||||
|
||||
DEVNULL = open(os.devnull, 'wb')
|
||||
cwd = os.path.dirname(os.path.abspath(__file__))
|
||||
|
|
@ -212,6 +213,13 @@ class commandsAction(argparse.Action):
|
|||
for c in commandsAction.commands:
|
||||
print(c)
|
||||
|
||||
class wycheproofAction(argparse.Action):
|
||||
|
||||
def __call__(self, parser, args, values, option_string=None):
|
||||
generate_test_vectors()
|
||||
clangFormat = cfAction(None, None, None)
|
||||
clangFormat(None, args, None)
|
||||
|
||||
|
||||
def parse_arguments():
|
||||
parser = argparse.ArgumentParser(
|
||||
|
|
@ -270,6 +278,18 @@ def parse_arguments():
|
|||
nargs='*',
|
||||
action=commandsAction)
|
||||
|
||||
parser_wycheproof = subparsers.add_parser(
|
||||
'wycheproof',
|
||||
help="generate wycheproof test headers")
|
||||
parser_wycheproof.add_argument(
|
||||
'--noroot',
|
||||
help='On linux, suppress the use of \'sudo\' for running docker.',
|
||||
action='store_true')
|
||||
parser_wycheproof.add_argument(
|
||||
'wycheproof',
|
||||
nargs='*',
|
||||
action=wycheproofAction)
|
||||
|
||||
commandsAction.commands = [c for c in subparsers.choices]
|
||||
return parser.parse_args()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue