068d7529f3
It does so by running the command under IPC::Open3, closing the stdin immediately, and reading everything from the command's stdout and stderr. It then makes the output available to be tested.
18 lines
550 B
Makefile
18 lines
550 B
Makefile
# $NetBSD: Makefile,v 1.1.1.1 2012/05/04 23:34:24 pettai Exp $
|
|
|
|
DISTNAME= Test-Command-Simple-0.03
|
|
PKGNAME= p5-${DISTNAME}
|
|
CATEGORIES= devel perl5
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Test/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://search.cpan.org/dist/Test-Command-Simple/
|
|
COMMENT= Test external commands (nearly) as easily as loaded modules
|
|
LICENSE= ${PERL5_LICENSE}
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
PERL5_PACKLIST= auto/Test/Command/Simple/.packlist
|
|
|
|
.include "../../lang/perl5/module.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|