[Bug 249024] cmake.mk: Add USES=cmake:testing to facilitate defining test targets for cmake-based ports

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Mar 30 13:09:22 BST 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=249024

--- Comment #8 from commit-hook at FreeBSD.org ---
A commit references this bug:

Author: adridg
Date: Tue Mar 30 12:08:23 UTC 2021
New revision: 569551
URL: https://svnweb.freebsd.org/changeset/ports/569551

Log:
  Add support for USES=cmake:testing

  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

Changes:
  head/Mk/Uses/cmake.mk

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the kde-freebsd mailing list