diff options
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/p5-Test2-Harness/Makefile | 41 | ||||
-rw-r--r-- | devel/p5-Test2-Harness/distinfo | 3 | ||||
-rw-r--r-- | devel/p5-Test2-Harness/pkg-descr | 11 | ||||
-rw-r--r-- | devel/p5-Test2-Harness/pkg-plist | 111 |
5 files changed, 167 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 12491d17927c..d68ee5bd4cae 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -3576,6 +3576,7 @@ SUBDIR += p5-Test-YAML-Meta SUBDIR += p5-Test-YAML-Valid SUBDIR += p5-Test-utf8 + SUBDIR += p5-Test2-Harness SUBDIR += p5-Test2-Plugin-NoWarnings SUBDIR += p5-Test2-Suite SUBDIR += p5-Text-Levenshtein diff --git a/devel/p5-Test2-Harness/Makefile b/devel/p5-Test2-Harness/Makefile new file mode 100644 index 000000000000..09bc83d0bb69 --- /dev/null +++ b/devel/p5-Test2-Harness/Makefile @@ -0,0 +1,41 @@ +# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= Test2-Harness +PORTVERSION= 0.001049 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +MASTER_SITE_SUBDIR= CPAN:EXODIST +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Test2 Harness designed for the Test2 event system + +LICENSE= ART10 GPLv1+ +LICENSE_COMB= dual +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= p5-Importer>=0.024:devel/p5-Importer \ + p5-Module-Pluggable>=0:devel/p5-Module-Pluggable \ + p5-Term-Table>=0.011:devel/p5-Term-Table \ + p5-Test2-Suite>=0.000091:devel/p5-Test2-Suite \ + p5-goto-file>=0.005:devel/p5-goto-file +RUN_DEPENDS:= ${BUILD_DEPENDS} + +NO_ARCH= yes +USES= perl5 +USE_PERL5= configure + +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 502400 +BUILD_DEPENDS+= p5-File-Path>=2.11:devel/p5-File-Path +RUN_DEPENDS+= p5-File-Path>=2.11:devel/p5-File-Path +.endif + +.if ${PERL_LEVEL} < 502707 +BUILD_DEPENDS+= p5-Test-Simple>=1.302117:devel/p5-Test-Simple +RUN_DEPENDS+= p5-Test-Simple>=1.302117:devel/p5-Test-Simple +.endif + +.include <bsd.port.post.mk> diff --git a/devel/p5-Test2-Harness/distinfo b/devel/p5-Test2-Harness/distinfo new file mode 100644 index 000000000000..99ba7b5adf85 --- /dev/null +++ b/devel/p5-Test2-Harness/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1517046275 +SHA256 (Test2-Harness-0.001049.tar.gz) = 9d4dd80fbb7b477043c77c7beeab22eabd4016730370de0b54089267036c549d +SIZE (Test2-Harness-0.001049.tar.gz) = 163844 diff --git a/devel/p5-Test2-Harness/pkg-descr b/devel/p5-Test2-Harness/pkg-descr new file mode 100644 index 000000000000..a666f2f1635e --- /dev/null +++ b/devel/p5-Test2-Harness/pkg-descr @@ -0,0 +1,11 @@ +To use Test2::Harness you use the yath command. Yath will find the tests (or use +the ones you specify), and run them. As it runs it will output diagnostics +information such as failures. At the end yath will print a summary of the test +run. + +The canonical source of up-to-date command options are the help output when +using $ yath help and $ yath help COMMAND. + +yath can be thought of as a more powerful alternative to prove (Test::Harness). + +WWW: http://search.cpan.org/dist/Test2-Harness/ diff --git a/devel/p5-Test2-Harness/pkg-plist b/devel/p5-Test2-Harness/pkg-plist new file mode 100644 index 000000000000..53d64d2d95ab --- /dev/null +++ b/devel/p5-Test2-Harness/pkg-plist @@ -0,0 +1,111 @@ +bin/yath +%%SITE_PERL%%/App/Yath.pm +%%SITE_PERL%%/App/Yath/Command.pm +%%SITE_PERL%%/App/Yath/Command/failed.pm +%%SITE_PERL%%/App/Yath/Command/help.pm +%%SITE_PERL%%/App/Yath/Command/init.pm +%%SITE_PERL%%/App/Yath/Command/reload.pm +%%SITE_PERL%%/App/Yath/Command/replay.pm +%%SITE_PERL%%/App/Yath/Command/run.pm +%%SITE_PERL%%/App/Yath/Command/spawn.pm +%%SITE_PERL%%/App/Yath/Command/start.pm +%%SITE_PERL%%/App/Yath/Command/stop.pm +%%SITE_PERL%%/App/Yath/Command/test.pm +%%SITE_PERL%%/App/Yath/Command/times.pm +%%SITE_PERL%%/App/Yath/Command/watch.pm +%%SITE_PERL%%/App/Yath/Command/which.pm +%%SITE_PERL%%/App/Yath/Plugin.pm +%%SITE_PERL%%/App/Yath/Util.pm +%%SITE_PERL%%/Test2/Formatter/QVF.pm +%%SITE_PERL%%/Test2/Formatter/Stream.pm +%%SITE_PERL%%/Test2/Formatter/Test2.pm +%%SITE_PERL%%/Test2/Harness.pm +%%SITE_PERL%%/Test2/Harness/Event.pm +%%SITE_PERL%%/Test2/Harness/Feeder.pm +%%SITE_PERL%%/Test2/Harness/Feeder/JSONL.pm +%%SITE_PERL%%/Test2/Harness/Feeder/Job.pm +%%SITE_PERL%%/Test2/Harness/Feeder/Run.pm +%%SITE_PERL%%/Test2/Harness/Job.pm +%%SITE_PERL%%/Test2/Harness/Job/Dir.pm +%%SITE_PERL%%/Test2/Harness/Job/Runner.pm +%%SITE_PERL%%/Test2/Harness/Job/Runner/Dummy.pm +%%SITE_PERL%%/Test2/Harness/Job/Runner/Fork.pm +%%SITE_PERL%%/Test2/Harness/Job/Runner/IPC.pm +%%SITE_PERL%%/Test2/Harness/Job/Runner/Open3.pm +%%SITE_PERL%%/Test2/Harness/Logger.pm +%%SITE_PERL%%/Test2/Harness/Logger/JSONL.pm +%%SITE_PERL%%/Test2/Harness/Preload.pm +%%SITE_PERL%%/Test2/Harness/Renderer.pm +%%SITE_PERL%%/Test2/Harness/Renderer/Formatter.pm +%%SITE_PERL%%/Test2/Harness/Run.pm +%%SITE_PERL%%/Test2/Harness/Run/Dir.pm +%%SITE_PERL%%/Test2/Harness/Run/Queue.pm +%%SITE_PERL%%/Test2/Harness/Run/Runner.pm +%%SITE_PERL%%/Test2/Harness/Run/Runner/Persist.pm +%%SITE_PERL%%/Test2/Harness/Run/Runner/ProcMan.pm +%%SITE_PERL%%/Test2/Harness/Util.pm +%%SITE_PERL%%/Test2/Harness/Util/DepTracer.pm +%%SITE_PERL%%/Test2/Harness/Util/File.pm +%%SITE_PERL%%/Test2/Harness/Util/File/JSON.pm +%%SITE_PERL%%/Test2/Harness/Util/File/JSONL.pm +%%SITE_PERL%%/Test2/Harness/Util/File/Stream.pm +%%SITE_PERL%%/Test2/Harness/Util/File/Value.pm +%%SITE_PERL%%/Test2/Harness/Util/HashBase.pm +%%SITE_PERL%%/Test2/Harness/Util/IPC.pm +%%SITE_PERL%%/Test2/Harness/Util/JSON.pm +%%SITE_PERL%%/Test2/Harness/Util/TapParser.pm +%%SITE_PERL%%/Test2/Harness/Util/Term.pm +%%SITE_PERL%%/Test2/Harness/Util/TestFile.pm +%%SITE_PERL%%/Test2/Harness/Watcher.pm +%%SITE_PERL%%/Test2/Tools/HarnessTester.pm +%%PERL5_MAN1%%/yath.1.gz +%%PERL5_MAN3%%/App::Yath.3.gz +%%PERL5_MAN3%%/App::Yath::Command.3.gz +%%PERL5_MAN3%%/App::Yath::Command::failed.3.gz +%%PERL5_MAN3%%/App::Yath::Command::help.3.gz +%%PERL5_MAN3%%/App::Yath::Command::init.3.gz +%%PERL5_MAN3%%/App::Yath::Command::reload.3.gz +%%PERL5_MAN3%%/App::Yath::Command::replay.3.gz +%%PERL5_MAN3%%/App::Yath::Command::run.3.gz +%%PERL5_MAN3%%/App::Yath::Command::spawn.3.gz +%%PERL5_MAN3%%/App::Yath::Command::start.3.gz +%%PERL5_MAN3%%/App::Yath::Command::stop.3.gz +%%PERL5_MAN3%%/App::Yath::Command::test.3.gz +%%PERL5_MAN3%%/App::Yath::Command::times.3.gz +%%PERL5_MAN3%%/App::Yath::Command::watch.3.gz +%%PERL5_MAN3%%/App::Yath::Command::which.3.gz +%%PERL5_MAN3%%/App::Yath::Util.3.gz +%%PERL5_MAN3%%/Test2::Formatter::Stream.3.gz +%%PERL5_MAN3%%/Test2::Formatter::Test2.3.gz +%%PERL5_MAN3%%/Test2::Harness.3.gz +%%PERL5_MAN3%%/Test2::Harness::Event.3.gz +%%PERL5_MAN3%%/Test2::Harness::Feeder.3.gz +%%PERL5_MAN3%%/Test2::Harness::Feeder::JSONL.3.gz +%%PERL5_MAN3%%/Test2::Harness::Feeder::Job.3.gz +%%PERL5_MAN3%%/Test2::Harness::Feeder::Run.3.gz +%%PERL5_MAN3%%/Test2::Harness::Job.3.gz +%%PERL5_MAN3%%/Test2::Harness::Job::Dir.3.gz +%%PERL5_MAN3%%/Test2::Harness::Job::Runner.3.gz +%%PERL5_MAN3%%/Test2::Harness::Job::Runner::Fork.3.gz +%%PERL5_MAN3%%/Test2::Harness::Job::Runner::IPC.3.gz +%%PERL5_MAN3%%/Test2::Harness::Job::Runner::Open3.3.gz +%%PERL5_MAN3%%/Test2::Harness::Logger.3.gz +%%PERL5_MAN3%%/Test2::Harness::Logger::JSONL.3.gz +%%PERL5_MAN3%%/Test2::Harness::Renderer.3.gz +%%PERL5_MAN3%%/Test2::Harness::Renderer::Formatter.3.gz +%%PERL5_MAN3%%/Test2::Harness::Run.3.gz +%%PERL5_MAN3%%/Test2::Harness::Run::Dir.3.gz +%%PERL5_MAN3%%/Test2::Harness::Run::Queue.3.gz +%%PERL5_MAN3%%/Test2::Harness::Run::Runner.3.gz +%%PERL5_MAN3%%/Test2::Harness::Util.3.gz +%%PERL5_MAN3%%/Test2::Harness::Util::File.3.gz +%%PERL5_MAN3%%/Test2::Harness::Util::File::JSON.3.gz +%%PERL5_MAN3%%/Test2::Harness::Util::File::JSONL.3.gz +%%PERL5_MAN3%%/Test2::Harness::Util::File::Stream.3.gz +%%PERL5_MAN3%%/Test2::Harness::Util::File::Value.3.gz +%%PERL5_MAN3%%/Test2::Harness::Util::HashBase.3.gz +%%PERL5_MAN3%%/Test2::Harness::Util::JSON.3.gz +%%PERL5_MAN3%%/Test2::Harness::Util::TapParser.3.gz +%%PERL5_MAN3%%/Test2::Harness::Util::Term.3.gz +%%PERL5_MAN3%%/Test2::Harness::Util::TestFile.3.gz +%%PERL5_MAN3%%/Test2::Harness::Watcher.3.gz |