Skip to content

Commit 233f993

Browse files
committed
godbless reflog
1 parent 7c5e28e commit 233f993

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

TestVectors/Makefile

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,10 @@ test_encrypt_vectors_rust:
211211
test_encrypt_vectors_go:
212212
go -C runtimes/go/ImplementationFromDafny-go run ImplementationFromDafny.go encrypt --manifest-path=.. --decrypt-manifest-path=..
213213

214+
test_encrypt_vectors_python:
215+
rm -rf runtimes/python/.tox
216+
python3 -m tox -c runtimes/python --verbose -e cli -- encrypt --manifest-path runtimes/python --decrypt-manifest-path runtimes/python
217+
214218
test_decrypt_encrypt_vectors_java:
215219
gradle -p runtimes/java run --args="decrypt --manifest-path . --manifest-name decrypt-manifest.json"
216220

@@ -234,6 +238,10 @@ test_decrypt_encrypt_vectors_rust:
234238
test_decrypt_encrypt_vectors_go:
235239
go -C runtimes/go/ImplementationFromDafny-go run ImplementationFromDafny.go decrypt --manifest-path=.. --manifest-name=decrypt-manifest.json
236240

241+
test_decrypt_encrypt_vectors_python:
242+
rm -rf runtimes/python/.tox
243+
python3 -m tox -c runtimes/python --verbose -e cli -- decrypt --manifest-path runtimes/python --manifest-name decrypt-manifest.json
244+
237245
_polymorph_dependencies:
238246
@echo "No polymorphing of dependency"
239247

@@ -248,3 +256,24 @@ _sed_types_file_add_extern:
248256

249257
_sed_index_file_add_extern:
250258
@echo "No extern to process for ESDK TestVectors"
259+
260+
PYTHON_MODULE_NAME=aws_encryption_sdk_test_vectors
261+
262+
TRANSLATION_RECORD_PYTHON := \
263+
--translation-record ../mpl/StandardLibrary/runtimes/python/src/smithy_dafny_standard_library/internaldafny/generated/dafny_src-py.dtr \
264+
--translation-record ../mpl/ComAmazonawsKms/runtimes/python/src/aws_cryptography_internal_kms/internaldafny/generated/dafny_src-py.dtr \
265+
--translation-record ../mpl/ComAmazonawsDynamodb/runtimes/python/src/aws_cryptography_internal_dynamodb/internaldafny/generated/dafny_src-py.dtr \
266+
--translation-record ../mpl/AwsCryptographyPrimitives/runtimes/python/src/aws_cryptography_primitives/internaldafny/generated/dafny_src-py.dtr \
267+
--translation-record ../mpl/AwsCryptographicMaterialProviders/runtimes/python/src/aws_cryptographic_material_providers/internaldafny/generated/dafny_src-py.dtr \
268+
--translation-record ../mpl/TestVectorsAwsCryptographicMaterialProviders/runtimes/python/src/aws_cryptography_materialproviders_test_vectors/internaldafny/generated/dafny_src-py.dtr \
269+
--translation-record ../AwsEncryptionSDK/runtimes/python/src/aws_encryption_sdk/internaldafny/generated/dafny_src-py.dtr
270+
271+
PYTHON_DEPENDENCY_MODULE_NAMES := \
272+
--dependency-library-name=aws.cryptography.primitives=aws_cryptography_primitives \
273+
--dependency-library-name=com.amazonaws.kms=aws_cryptography_internal_kms \
274+
--dependency-library-name=com.amazonaws.dynamodb=aws_cryptography_internal_dynamodb \
275+
--dependency-library-name=aws.cryptography.materialProviders=aws_cryptographic_material_providers \
276+
--dependency-library-name=aws.cryptography.keyStore=aws_cryptographic_material_providers \
277+
--dependency-library-name=smithy.api=aws_cryptographic_material_providers \
278+
--dependency-library-name=aws.cryptography.materialProvidersTestVectorKeys=aws_cryptographic_material_providers_test_vectors \
279+
--dependency-library-name=aws.cryptography.encryptionSdk=aws_encryption_sdk

0 commit comments

Comments
 (0)