Skip to content

Commit

Permalink
Don't run key_mapping tests for CAL provider
Browse files Browse the repository at this point in the history
Signed-off-by: Mohamed Omar Asaker <mohamed.omarasaker@arm.com>
  • Loading branch information
mohamedasaker-arm committed Aug 2, 2022
1 parent d439d6d commit 638da28
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,12 @@ run_old_e2e_tests() {
}

run_key_mappings_tests() {
echo "Execute key mappings tests"
RUST_BACKTRACE=1 cargo test $TEST_FEATURES --manifest-path ./e2e_tests/Cargo.toml key_mappings
# There is no keys generated for CryptoAuthLib yet.
# This condition should be removed when the keys are generated for the CAL provider
if ! [[ "$PROVIDER_NAME" = "cryptoauthlib" ]]; then
echo "Execute key mappings tests"
RUST_BACKTRACE=1 cargo test $TEST_FEATURES --manifest-path ./e2e_tests/Cargo.toml key_mappings
fi
}

setup_mappings() {
Expand Down

0 comments on commit 638da28

Please sign in to comment.