Skip to content

Commit

Permalink
Add Trusted Service provider to the coverage list
Browse files Browse the repository at this point in the history
Signed-off-by: Ionut Mihalcea <ionut.mihalcea@arm.com>
  • Loading branch information
ionut-arm committed Jan 10, 2022
1 parent 65d0548 commit 7da246a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,8 @@ git submodule update --init

if [ "$PROVIDER_NAME" = "coverage" ]; then
rustup toolchain install 1.57.0
PROVIDERS="mbed-crypto tpm pkcs11" # trusted-service not supported because of a segfault when the service stops; see: https://github.com/parallaxsecond/parsec/issues/349
EXCLUDES="fuzz/*,e2e_tests/*,src/providers/cryptoauthlib/*,src/providers/trusted_service/*,src/authenticators/jwt_svid_authenticator/*"
PROVIDERS="trusted-service mbed-crypto tpm pkcs11" # trusted-service not supported because of a segfault when the service stops; see: https://github.com/parallaxsecond/parsec/issues/349
EXCLUDES="fuzz/*,e2e_tests/*,src/providers/cryptoauthlib/*,src/authenticators/jwt_svid_authenticator/*"
UNIT_TEST_FEATURES="unix-peer-credentials-authenticator,direct-authenticator"
# Install tarpaulin
cargo +1.57.0 install cargo-tarpaulin
Expand All @@ -214,6 +214,8 @@ if [ "$PROVIDER_NAME" = "coverage" ]; then
cp -r $(pwd)/e2e_tests/fake_mappings/* mappings
if [ "$PROVIDER_NAME" = "mbed-crypto" ]; then
cp /tmp/*.psa_its .
elif [ "$PROVIDER_NAME" = "trusted-service" ]; then
rm -f ./*.psa_its
fi

# Start service
Expand Down

0 comments on commit 7da246a

Please sign in to comment.