Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Mar 2021 12:09:22 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 249024] cmake.mk: Add USES=cmake:testing to facilitate defining test targets for cmake-based ports
Message-ID:  <bug-249024-7788-WqGE81BRPX@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-249024-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-249024-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D249024

--- Comment #8 from commit-hook@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=3Dcmake:testing

  CMake-based ports have a "standard" way of controlling whether
  testing should be built, by passing -DBUILD_TESTING=3DON at the
  configure stage (with some footnotes). Add a :testing modifier
  for USES=3Dcmake 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

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-249024-7788-WqGE81BRPX>