LCOV - code coverage report
Current view: top level - unit_test/test_spdm_common - test_spdm_common.c (source / functions) Coverage Total Hit
Test: coverage.info Lines: 71.4 % 7 5
Test Date: 2025-06-29 08:09:00 Functions: 100.0 % 1 1

            Line data    Source code
       1              : /**
       2              :  *  Copyright Notice:
       3              :  *  Copyright 2021-2022 DMTF. All rights reserved.
       4              :  *  License: BSD 3-Clause License. For full text see link: https://github.com/DMTF/libspdm/blob/main/LICENSE.md
       5              :  **/
       6              : 
       7              : 
       8              : extern int libspdm_common_context_data_test_main(void);
       9              : extern int libspdm_common_support_test_main(void);
      10              : 
      11            1 : int main(void)
      12              : {
      13            1 :     int return_value = 0;
      14              : 
      15            1 :     if (libspdm_common_context_data_test_main() != 0) {
      16            0 :         return_value = 1;
      17              :     }
      18              : 
      19            1 :     if (libspdm_common_support_test_main() != 0) {
      20            0 :         return_value = 1;
      21              :     }
      22              : 
      23            1 :     return return_value;
      24              : }
        

Generated by: LCOV version 2.0-1