HomeClusterLabs Projects

Build: libcrmcommon: Use -DPCMK__UNIT_TESTING and LDFLAGS_WRAP everywhere.

Description

Build: libcrmcommon: Use -DPCMK__UNIT_TESTING and LDFLAGS_WRAP everywhere.

If libcrmcommon_test is built as a shared library, we can get away with
using LDFLAGS_WRAP in every subdirectory all the time. The process of
shared library linking will ensure the correct version of every function
gets used.

Details

Provenance
clumensAuthored on Aug 10 2022, 9:24 AM
Parents
rP9085b4a2f22f: Test: libcrmcommon: Add unit tests for assertions in pcmk__xpath_node_id.
Branches
Unknown
Tags
Unknown