Date: Mon, 31 Aug 2020 04:25:49 +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-qgCMBR4a1m@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 Tobias C. Berner <tcberner@freebsd.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tcberner@freebsd.org --- Comment #2 from Tobias C. Berner <tcberner@freebsd.org> --- Moin moin=20 I like the idea in principal, I myself looked at adding these targets a few years ago, and lbartoletti@ had the same idea a few weeks back. However... The reason kde@ never added those targets is, that up to a few years ago, K= DE had unit tests which assumed you are *not* running the build as root (which most port builds are).=20 They did funny things in the spirit of "rm -r /etc" as a "failing test case= ", which of course when running the `make test` as root, would pretty much ruin your day. And of course, took quite a lot of time to figure out that a test-case was doing it. So, while I technically think this new target is a good idea, with the memo= ry of a broken system, I kind of does do not want this, out of fear that other upstreams are doing similar assumptions about the rights of a user running = the tests. mfg Tobias --=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-qgCMBR4a1m>