Skip to content

Commit

Permalink
Update tests to support imp fields in tee_client_api.h types
Browse files Browse the repository at this point in the history
As the test xtest_tee_test_1025() uses a part of a struct from
tee_client_api.h that is implementation defined, the test
needed to be updated when the implementation defined parts of
the structs in tee_client_api.h changed to use an imp field
instead of separate fields.

Signed-off-by: Julianus Larson <julianus.larson@linaro.org>
Reported-by: Tom Hebb <tommyhebb@gmail.com>
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
  • Loading branch information
JLLinaro authored and jforissier committed Mar 28, 2024
1 parent ce5f361 commit 95f2a3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion host/xtest/regression_1000.c
Original file line number Diff line number Diff line change
Expand Up @@ -2036,7 +2036,7 @@ static void xtest_tee_test_1025(ADBG_Case_t *c)

Do_ADBG_EndSubCase(c, "Invalid NULL buffer memref registration");

if (!xtest_teec_ctx.memref_null) {
if (!xtest_teec_ctx.imp.memref_null) {
Do_ADBG_Log("Skip subcases: MEMREF_NULL capability not supported");
return;
}
Expand Down

0 comments on commit 95f2a3b

Please sign in to comment.