Skip to content

Commit 1ec0012

Browse files
committed
ci: Disbale key mappings test for TS
The new libts library doesnt produce keys in the form of 00*.psa_its so disable the tests in the CI for it. Signed-off-by: Gowtham Suresh Kumar <[email protected]>
1 parent 17c6034 commit 1ec0012

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ci.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,9 @@ run_old_e2e_tests() {
120120
run_key_mappings_tests() {
121121
# There is no keys generated for CryptoAuthLib yet.
122122
# This condition should be removed when the keys are generated for the CAL provider
123-
if ! [[ "$PROVIDER_NAME" = "cryptoauthlib" ]]; then
123+
# The v1.0.0 version of libts required for testing trusted-services does not generate keys
124+
# in the form of 00*.psa_its. Hence we skip this test for the TS provider.
125+
if ! [[ "$PROVIDER_NAME" = "cryptoauthlib" || "$PROVIDER_NAME" = "trusted-service" ]]; then
124126
echo "Execute key mappings tests"
125127
RUST_BACKTRACE=1 cargo test $TEST_FEATURES --manifest-path ./e2e_tests/Cargo.toml key_mappings
126128
fi

0 commit comments

Comments
 (0)