Skip to content

Commit

Permalink
Test for requester vendor_cmds unit_test
Browse files Browse the repository at this point in the history
Signed-off-by: Wenxing Hou <[email protected]>
  • Loading branch information
Wenxing-hou committed Jul 26, 2024
1 parent 21d720c commit 0fdca2a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions unit_test/test_spdm_requester/test_spdm_requester.c
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,7 @@ int libspdm_requester_vendor_cmds_error_test_main(void);
int main(void)
{
int return_value = 0;
if (libspdm_requester_get_version_test_main() != 0) {
return_value = 1;
}

if (libspdm_requester_get_version_error_test_main() != 0) {
return_value = 1;
}
Expand Down Expand Up @@ -241,5 +239,9 @@ int main(void)
}
#endif /* LIBSPDM_ENABLE_VENDOR_DEFINED_MESSAGES */

if (libspdm_requester_get_version_test_main() != 0) {
return_value = 1;
}

return return_value;
}

0 comments on commit 0fdca2a

Please sign in to comment.