Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase and enhance fuzzy testing #2623

Closed
wants to merge 2 commits into from

Conversation

Xiaohanjlll
Copy link
Contributor

@Xiaohanjlll Xiaohanjlll commented Mar 15, 2024

Code coverage has been improved as follows:

libspdm_req_negotiate_algorithms.c          81.8% -> 95.3%       
libspdm_req_get_capabilities.c              75.5% -> 94.3%          
libspdm_rsp_capabilities.c                  91.6% -> 95.4%        
libspdm_rsp_algorithms.c                    61.6% -> 74.7%     
libspdm_rsp_certificate.c                   80.6% -> 82.5%
libspdm_rsp_challenge_auth.c                81.0% -> 84.1%
libspdm_rsp_csr.c                           64.6% -> 71.2%
libspdm_rsp_digests.c                       69.6% -> 77.3%
libspdm_rsp_finish.c                        76.9% -> 81.1%
libspdm_rsp_psk_finish.c                    74.2% -> 80.9%
libspdm_rsp_set_certificate.c               60.6% -> 67.4%
libspdm_rsp_measurements.c                  75.2% -> 78.4%
libspdm_req_psk_exchange.c                  76.6% -> 79.6%	
libspdm_rsp_key_exchange.c	            77.2% -> 80.8%
libspdm_rsp_version.c                       83.3% -> 86.7%

@Xiaohanjlll Xiaohanjlll marked this pull request as draft March 15, 2024 09:07
@jyao1 jyao1 added the test For tests and testing infrastructure label Mar 15, 2024
@jyao1
Copy link
Member

jyao1 commented Mar 15, 2024

Please describe clearly, what is enhanced.

@Xiaohanjlll Xiaohanjlll force-pushed the fuzz_test branch 2 times, most recently from 411a6b1 to 070362d Compare March 18, 2024 05:37
@Xiaohanjlll
Copy link
Contributor Author

Xiaohanjlll commented Mar 18, 2024

Please describe clearly, what is enhanced.

I made some modifications to the existing test cases to make it easier for them to enter the subsequent branches.

[Do some customized settings to cover more code logical branch](https://github.com/DMTF/libspdm/pull/2623/commits/e239ae67c58caadfeb9e88f2f247c24c963b97dc)

@Xiaohanjlll Xiaohanjlll marked this pull request as ready for review March 18, 2024 08:24
@Xiaohanjlll Xiaohanjlll deleted the fuzz_test branch July 15, 2024 05:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test For tests and testing infrastructure
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants