summaryrefslogtreecommitdiff
path: root/devel/p5-Test-Harness
diff options
context:
space:
mode:
authoradrianp <adrianp@pkgsrc.org>2006-08-06 15:00:07 +0000
committeradrianp <adrianp@pkgsrc.org>2006-08-06 15:00:07 +0000
commitd4962aba674bff10dd975e30285fdf77afa4f2ee (patch)
treec1c78a0024225c8a051cb8b6fdb7bc203959efe5 /devel/p5-Test-Harness
parentce2ffb5a92e3fd9c4cd9230ce6431a4041dea4a1 (diff)
downloadpkgsrc-d4962aba674bff10dd975e30285fdf77afa4f2ee.tar.gz
Add back p5-Test-Harness
Even though it's now a part of perl the development of the module continues and other modules are starting to require a later version of it than the one bundled with perl.
Diffstat (limited to 'devel/p5-Test-Harness')
-rw-r--r--devel/p5-Test-Harness/DESCR13
-rw-r--r--devel/p5-Test-Harness/Makefile16
-rw-r--r--devel/p5-Test-Harness/PLIST1
-rw-r--r--devel/p5-Test-Harness/distinfo5
4 files changed, 35 insertions, 0 deletions
diff --git a/devel/p5-Test-Harness/DESCR b/devel/p5-Test-Harness/DESCR
new file mode 100644
index 00000000000..ecae20966c3
--- /dev/null
+++ b/devel/p5-Test-Harness/DESCR
@@ -0,0 +1,13 @@
+STOP! If all you want to do is write a test script, consider using
+Test::Simple. Test::Harness is the module that reads the output from
+Test::Simple, Test::More and other modules based on Test::Builder. You don't
+need to know about Test::Harness to use those modules.
+
+Test::Harness runs tests and expects output from the test in a certain format.
+That format is called TAP, the Test Anything Protocol. It is defined in
+Test::Harness::TAP.
+
+Test::Harness::runtests(@tests) runs all the testscripts named as arguments
+and checks standard output for the expected strings in TAP format.
+
+The prove utility is a thin wrapper around Test::Harness.
diff --git a/devel/p5-Test-Harness/Makefile b/devel/p5-Test-Harness/Makefile
new file mode 100644
index 00000000000..04e2f696b7d
--- /dev/null
+++ b/devel/p5-Test-Harness/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.25 2006/08/06 15:00:07 adrianp Exp $
+#
+
+DISTNAME= Test-Harness-2.62
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Test/}
+
+MAINTAINER= adrianp@NetBSD.org
+HOMEPAGE= http://search.cpan.org/CPAN/authors/id/P/PE/PETDANCE/
+COMMENT= Run Perl standard test scripts with statistics
+
+PERL5_PACKLIST= auto/Test/Harness/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/p5-Test-Harness/PLIST b/devel/p5-Test-Harness/PLIST
new file mode 100644
index 00000000000..1d7d6f90301
--- /dev/null
+++ b/devel/p5-Test-Harness/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD: PLIST,v 1.3 2006/08/06 15:00:07 adrianp Exp $
diff --git a/devel/p5-Test-Harness/distinfo b/devel/p5-Test-Harness/distinfo
new file mode 100644
index 00000000000..d4150786fb3
--- /dev/null
+++ b/devel/p5-Test-Harness/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.14 2006/08/06 15:00:07 adrianp Exp $
+
+SHA1 (Test-Harness-2.62.tar.gz) = f2ce9511ad7d74adeba11d5a07f7399e0e691d7c
+RMD160 (Test-Harness-2.62.tar.gz) = c3bce190cee15943161b7b18751aad497080dc4f
+Size (Test-Harness-2.62.tar.gz) = 69548 bytes