pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/p5-Test-Exit



Module Name:    pkgsrc
Committed By:   mef
Date:           Sat Mar 21 23:36:28 UTC 2020

Added Files:
        pkgsrc/devel/p5-Test-Exit: DESCR Makefile PLIST distinfo

Log Message:
devel/p5-Test-Exit: import p5-Test-Exit-0.11

Test::Exit provides some simple tools for testing code that might call
exit(), providing you with the status code without exiting the test
file.

The only criterion tested is that the supplied code does or does not
call exit(). If the code throws an exception, the exception will be
propagated and you will have to catch it yourself. die()ing is not
exiting for the purpose of these tests.

Unlike previous versions of this module, the current version doesn't
use exceptions to do its work, so even if you call exit() inside of an
eval, everything should work.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/p5-Test-Exit/DESCR \
    pkgsrc/devel/p5-Test-Exit/Makefile pkgsrc/devel/p5-Test-Exit/PLIST \
    pkgsrc/devel/p5-Test-Exit/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/devel/p5-Test-Exit/DESCR
diff -u /dev/null pkgsrc/devel/p5-Test-Exit/DESCR:1.1
--- /dev/null   Sat Mar 21 23:36:28 2020
+++ pkgsrc/devel/p5-Test-Exit/DESCR     Sat Mar 21 23:36:28 2020
@@ -0,0 +1,12 @@
+Test::Exit provides some simple tools for testing code that might call
+exit(), providing you with the status code without exiting the test
+file.
+
+The only criterion tested is that the supplied code does or does not
+call exit(). If the code throws an exception, the exception will be
+propagated and you will have to catch it yourself. die()ing is not
+exiting for the purpose of these tests.
+
+Unlike previous versions of this module, the current version doesn't
+use exceptions to do its work, so even if you call exit() inside of an
+eval, everything should work.
Index: pkgsrc/devel/p5-Test-Exit/Makefile
diff -u /dev/null pkgsrc/devel/p5-Test-Exit/Makefile:1.1
--- /dev/null   Sat Mar 21 23:36:28 2020
+++ pkgsrc/devel/p5-Test-Exit/Makefile  Sat Mar 21 23:36:28 2020
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2020/03/21 23:36:28 mef Exp $
+
+DISTNAME=      Test-Exit-0.11
+PKGNAME=       p5-${DISTNAME}
+CATEGORIES=    devel perl5
+MASTER_SITES=  https://cpan.metacpan.org/authors/id/A/AR/ARODLAND/
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://cpan.metacpan.org/authors/id/A/AR/ARODLAND/
+COMMENT=       Test that some code calls exit() without terminating testing
+LICENSE=       ${PERL5_LICENSE}
+
+TEST_DEPENDS+= p5-Return-MultiLevel-[0-9]*:../../devel/p5-Return-MultiLevel
+
+PERL5_PACKLIST=        auto/Test/Exit/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/p5-Test-Exit/PLIST
diff -u /dev/null pkgsrc/devel/p5-Test-Exit/PLIST:1.1
--- /dev/null   Sat Mar 21 23:36:28 2020
+++ pkgsrc/devel/p5-Test-Exit/PLIST     Sat Mar 21 23:36:28 2020
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1 2020/03/21 23:36:28 mef Exp $
+@comment TODO: to fill this file with the file listing:
+@comment TODO: 1. run "/usr/bin/make package"
+@comment TODO: 2. run "/usr/bin/make print-PLIST"
Index: pkgsrc/devel/p5-Test-Exit/distinfo
diff -u /dev/null pkgsrc/devel/p5-Test-Exit/distinfo:1.1
--- /dev/null   Sat Mar 21 23:36:28 2020
+++ pkgsrc/devel/p5-Test-Exit/distinfo  Sat Mar 21 23:36:28 2020
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/03/21 23:36:28 mef Exp $
+
+SHA1 (Test-Exit-0.11.tar.gz) = b5896ca24bf621760036a4913f23ba3e362360a4
+RMD160 (Test-Exit-0.11.tar.gz) = 19483baa0c2854be9a207ae96ebd261fb09f69b9
+SHA512 (Test-Exit-0.11.tar.gz) = cd2ebb191f1d0c64017df9c4de50539985b96251222d88c644dafeb64b7373afdf28cd84d1c58caa78ee5704650f94efdd0e2971bbba962c1aeb799e812f26e4
+Size (Test-Exit-0.11.tar.gz) = 9778 bytes



Home | Main Index | Thread Index | Old Index