Re: OpenBSD::MkTemp vs Devel::Cover

2023-07-10 Thread Marc Espie
Tl;Dr: I'm not trying too hard to use Devel::Cover but so far it fails abysmally with BOTH pkg_add and dpb. I'll admit that both are playing "fun" games with identity but seriously, Devel::NYTProf didn't care at all ! I've spent a few hours trying to figure out options (loose_perms won't help)

Re: OpenBSD::MkTemp vs Devel::Cover

2023-07-09 Thread Philip Guenther
Yeah, I don't really get what's going on here that Devel::Cover is unhappy about. Maybe it's something about how my mkstemps_real() implementation creates the filehandle that it returns. I see perlxstut(1) now talks about {Input,InOut,Output}Stream and PerlIO* in the typemap, so maybe I should

Re: OpenBSD::MkTemp vs Devel::Cover

2023-07-09 Thread Andrew Hewus Fresh
On Sat, Jul 08, 2023 at 12:09:01PM -0700, Andrew Hewus Fresh wrote: > On Sat, Jul 08, 2023 at 11:18:00AM +0200, Marc Espie wrote: > > Hey, Philip, you wrote this a long time ago. > > > > Now, I'm trying to get some coverage out of Devel::Cover on pkg_add, > > and somehow, it gets in the way. > >

Re: OpenBSD::MkTemp vs Devel::Cover

2023-07-08 Thread Andrew Hewus Fresh
On Sat, Jul 08, 2023 at 11:18:00AM +0200, Marc Espie wrote: > Hey, Philip, you wrote this a long time ago. > > Now, I'm trying to get some coverage out of Devel::Cover on pkg_add, > and somehow, it gets in the way. > > # perl -MDevel::Cover=+select,OpenBSD/.* /usr/sbin/pkg_add random_run >

OpenBSD::MkTemp vs Devel::Cover

2023-07-08 Thread Marc Espie
Hey, Philip, you wrote this a long time ago. Now, I'm trying to get some coverage out of Devel::Cover on pkg_add, and somehow, it gets in the way. # perl -MDevel::Cover=+select,OpenBSD/.* /usr/sbin/pkg_add random_run Selecting packages matching: OpenBSD/.* Ignoring packages matching: