push
github
cmake: fix build for Alpine Since Alpine uses musl [1] as its C standard library, the build for it failed after the commit af0f59da7 ("test: fix LuaJIT-tests for old libc version"), since `GetLibCVersion()` raises an error. This patch adds the check of the ID in the /etc/os-release [2] of the Linux distribution and avoids setting the GLibC version if the distro is "alpine". [1]: https://wiki.alpinelinux.org/wiki/Musl [2]: https://www.linux.org/docs/man5/os-release.html
5696 of 6033 branches covered (94.41%)
Branch coverage included in aggregate %.
21713 of 23449 relevant lines covered (92.6%)
2971288.24 hits per line