[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
Mon Aug 31 01:26:01 UTC 2020


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

            Bug ID: 249024
           Summary: cmake.mk: Add USES=cmake:testing to facilitate
                    defining test targets for cmake-based ports
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Ports Framework
          Assignee: portmgr at FreeBSD.org
          Reporter: yuri at freebsd.org
                CC: ports-bugs at FreeBSD.org

Created attachment 217665
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=217665&action=edit
patch

Many cmake-based projects have ctate-based tests with the BUILD_TESTING cmake
variable being defined in the documentation as a standard way to enable tests:
https://cmake.org/cmake/help/v3.7/module/CTest.html

The suggested feature USES=cmake:testing facilitates defining test targets for
such ports.

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


More information about the freebsd-ports-bugs mailing list