shadow-maint / shadow

Upstream shadow tree
Other
287 stars 227 forks source link

configure: change cmocka library detection #995

Closed ikerexxe closed 1 month ago

ikerexxe commented 1 month ago

For some reason cmocka library isn't detected in fedora, thus the unit tests aren't run on this platform. Changing the detection process to be able to run the unit tests.

I'll be honest, I don't know why the previous way of detecting the library didn't work. I tried several changes and neither of them seemed to detect the library on my system even though it was installed.

ikerexxe commented 1 month ago

As an example of CI check where unit tests aren't run on fedora: https://github.com/shadow-maint/shadow/actions/runs/9096539741/job/25002179766?pr=994. Look for Testsuite summary for shadow 4.15.1 and you'll see that nothing is run.