Refs #3331 -- added initial wycheproof integration, starting with x25519, rsa, and keywrap (#4310)
* Refs #3331 -- added initial wycheproof integration, starting with x25519 tests
diff --git a/Jenkinsfile b/Jenkinsfile
index 2697b8f..816e9de 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -144,6 +144,16 @@
timeout(time: 30, unit: 'MINUTES') {
checkout_git(label)
+ checkout([
+ $class: 'GitSCM',
+ extensions: [[
+ $class: 'RelativeTargetDirectory',
+ relativeTargetDir: 'wycheproof',
+ ]],
+ userRemoteConfigs: [[
+ 'url': 'https://github.com/google/wycheproof',
+ ]]
+ ])
withCredentials([string(credentialsId: 'cryptography-codecov-token', variable: 'CODECOV_TOKEN')]) {
withEnv(["LABEL=$label", "TOXENV=$toxenv", "IMAGE_NAME=$imageName"]) {
@@ -185,7 +195,7 @@
@set INCLUDE="${opensslPaths[label]['include']}";%INCLUDE%
@set LIB="${opensslPaths[label]['lib']}";%LIB%
- tox -r
+ tox -r -- --wycheproof-root=../wycheproof
IF %ERRORLEVEL% NEQ 0 EXIT /B %ERRORLEVEL%
virtualenv .codecov
call .codecov/Scripts/activate
@@ -205,7 +215,7 @@
CRYPTOGRAPHY_SUPPRESS_LINK_FLAGS=1 \
LDFLAGS="/usr/local/opt/openssl\\@1.1/lib/libcrypto.a /usr/local/opt/openssl\\@1.1/lib/libssl.a" \
CFLAGS="-I/usr/local/opt/openssl\\@1.1/include -Werror -Wno-error=deprecated-declarations -Wno-error=incompatible-pointer-types -Wno-error=unused-function -Wno-error=unused-command-line-argument -mmacosx-version-min=10.9" \
- tox -r -- --color=yes
+ tox -r -- --color=yes --wycheproof-root=../wycheproof
virtualenv .venv
source .venv/bin/activate
# This pin must be kept in sync with tox.ini
@@ -218,7 +228,7 @@
sh """#!/usr/bin/env bash
set -xe
cd cryptography
- tox -r -- --color=yes
+ tox -r -- --color=yes --wycheproof-root=../wycheproof
virtualenv .venv
source .venv/bin/activate
# This pin must be kept in sync with tox.ini