libspdm icon indicating copy to clipboard operation
libspdm copied to clipboard

Unable to build when code coverage is enabled

Open steven-bellock opened this issue 3 years ago • 4 comments

See https://github.com/DMTF/libspdm/actions/runs/3372264103/jobs/5595487418#step:3:414

This is with cmake -DARCH=x64 -DTOOLCHAIN=GCC -DTARGET=Debug -DCRYPTO=mbedtls -DGCOV=ON ..

steven-bellock avatar Nov 01 '22 19:11 steven-bellock

@jyao1 This was probably introduced with something like https://github.com/DMTF/libspdm/pull/1314 where the linker flags were changed. On a side note we should enable GCOV for at least one build configuration to flag any issues like this on a pull request.

steven-bellock avatar Nov 01 '22 21:11 steven-bellock

I think we may exclude test_size_* if GCOV is on.

jyao1 avatar Nov 05 '22 14:11 jyao1

11/7/2022 - Agree we should include CI. Ok to exclude test_size_ if GCOV is on.

jyao1 avatar Nov 07 '22 15:11 jyao1

I will check this

Xiaohanjlll avatar Nov 08 '22 01:11 Xiaohanjlll