File tree Expand file tree Collapse file tree 3 files changed +8
-4
lines changed
test_vector_handlers/scripts Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ phases:
23
23
pre_build :
24
24
commands :
25
25
# Build Python MPL TestVector runner from source
26
- - sh scripts/install_mpl_test_vector_runner.sh
26
+ - sh test_vector_handlers/ scripts/install_mpl_test_vector_runner.sh
27
27
28
28
# Fetch test vectors from Dafny ESDK's most recent run
29
29
# (Assuming the first result is most recent; seems to be correct...)
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ phases:
23
23
- unzip python-2.3.0.zip -d python-2.3.0
24
24
25
25
# Build Python MPL TestVector runner from source
26
- - sh scripts/install_mpl_test_vector_runner.sh
26
+ - sh test_vector_handlers/ scripts/install_mpl_test_vector_runner.sh
27
27
28
28
build :
29
29
commands :
Original file line number Diff line number Diff line change 1
- # Build Python MPL TestVector runner from source
1
+ # Builds the Python MPL TestVector runner from source.
2
+ # This package is used by the ESDK-Python test vectors for testing with the MPL.
3
+
4
+ # This script is intended to be used by ESDK-Python's integration tests.
5
+ # You may need or want to make local changes to get this work on your machine.
6
+
2
7
# Clone MPL repo to get test vectors runner source code and the Dafny version to use
3
8
git clone --recurse-submodules https://github.com/aws/aws-cryptographic-material-providers-library.git
4
9
# Download Dafny to build the test vector runner; get Dafny version from ESDK's project.properties file
5
10
export dafnyVersion=$( grep ' ^dafnyVersion=' aws-cryptographic-material-providers-library/project.properties | cut -d ' =' -f 2)
6
11
curl https://github.com/dafny-lang/dafny/releases/download/v$dafnyVersion /dafny-$dafnyVersion -x64-ubuntu-20.04.zip -L -o dafny.zip
7
12
unzip -qq dafny.zip && rm dafny.zip
8
13
export PATH=" $PWD /dafny:$PATH "
9
-
10
14
# Build MPL test vector runner from source
11
15
cd aws-cryptographic-material-providers-library/TestVectorsAwsCryptographicMaterialProviders/
12
16
make transpile_python
You can’t perform that action at this time.
0 commit comments