Skip to content
  • adridg's avatar
    Add support for USES=cmake:testing · 167a96f2
    adridg authored
    CMake-based ports have a "standard" way of controlling whether
    testing should be built, by passing -DBUILD_TESTING=ON at the
    configure stage (with some footnotes). Add a :testing modifier
    for USES=cmake that enables a boilerplate do-test target that
    rebuilds with testing enabled, and then runs the tests.
    
    Individual ports need to buy in to this explicitly (because
    tests might not be non-destructive).
    
    Submitted and explained well by yuri@
    
    PR:		249024
    Submitted by:	yuri
    167a96f2