Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Apr 2024 20:16:59 +0000
Subject:   [Bug 278533] Mk/Uses/cmake.mk: use proper environment in do-test
Message-ID:  <bug-278533-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 278533
           Summary: Mk/Uses/cmake.mk: use proper environment in do-test
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Ports Framework
          Assignee: portmgr@FreeBSD.org
          Reporter: mandree@FreeBSD.org
                CC: adridg@freebsd.org, diizzy@FreeBSD.org,
                    ports-bugs@FreeBSD.org, tijl@FreeBSD.org
            Blocks: 278500

Created attachment 250163
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D250163&action=
=3Dedit
git format-patch (to apply with git am) patch to fix cmake.mk's do-test:
environment

* the actual test run used MAKE_ENV but should use TEST_ENV
* also, ctest(1) defaults to running tests serially, so add
  CTEST_PARALLEL_LEVEL here and set it to _MAKE_JOBS_NUMBER.
  NOTE: cmake 3.29 changes semantics for _MAKE_JOBS_NUMBER empty or 0.

(Also note that Uses/cmake.mk advertises itself as supporting ctest... then=
 it
should deliver on that promise. Make it so.)

NOTE: please DO apply with git-am and then DO amend the commit message with
this PR's number.


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278500
[Bug 278500] graphics/openexr: Convert to cmake:testing
--=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-278533-7788>