Debian Codegraph @

Makefile.PL

raw
1 # This Makefile.PL for Test2-Harness was generated by
2 # Dist::Zilla::Plugin::MakeMaker::Awesome 0.49.
3 # Don't edit it but the dist.ini and plugins used to construct it.
4
5 use strict;
6 use warnings;
7
8 use 5.010000;
9 use ExtUtils::MakeMaker;
10
11 use Config qw/%Config/;
12 die "OS unsupported\nTest2-Harness currently only works on systems that support true forking.\n"
13 unless $Config{d_fork};
14 if ($ENV{AUTOMATED_TESTING}) {
15 my $is_njh = 0;
16 $is_njh ||= -d '/export/home/njh';
17 $is_njh ||= -d '/home/njh';
18 $is_njh ||= lc($ENV{USER} // 'na') eq 'njh';
19 $is_njh ||= lc($ENV{HOME} // 'na') =~ m{njh$};
20 $is_njh ||= lc($ENV{PATH} // 'na') =~ m{/njh/};
21 die "OS unsupported\nNJH smokers are broken, aborting tests.\n"
22 if $is_njh;
23 }
24
25 my %WriteMakefileArgs = (
26 "ABSTRACT" => "A new and improved test harness with better Test2 integration.",
27 "AUTHOR" => "Chad Granum <exodist7\@gmail.com>",
28 "CONFIGURE_REQUIRES" => {
29 "ExtUtils::MakeMaker" => 0
30 },
31 "DISTNAME" => "Test2-Harness",
32 "LICENSE" => "perl",
33 "MIN_PERL_VERSION" => "5.010000",
34 "NAME" => "Test2::Harness",
35 "PREREQ_PM" => {
36 "App::Yath::Script" => "2.000017",
37 "Carp" => 0,
38 "Config" => 0,
39 "Cwd" => 0,
40 "Data::Dumper" => 0,
41 "Data::UUID" => 0,
42 "Exporter" => 0,
43 "Fcntl" => 0,
44 "File::Find" => 0,
45 "File::Path" => "2.11",
46 "File::Spec" => 0,
47 "File::Temp" => 0,
48 "Filter::Util::Call" => 0,
49 "IO::Compress::Bzip2" => 0,
50 "IO::Compress::Gzip" => 0,
51 "IO::Handle" => "1.27",
52 "IO::Uncompress::Bunzip2" => 0,
53 "IO::Uncompress::Gunzip" => 0,
54 "IPC::Cmd" => 0,
55 "Importer" => "0.025",
56 "JSON::PP" => 0,
57 "List::Util" => "1.44",
58 "Long::Jump" => "0.000001",
59 "POSIX" => 0,
60 "Scalar::Util" => 0,
61 "Scope::Guard" => 0,
62 "Symbol" => 0,
63 "Sys::Hostname" => 0,
64 "Term::Table" => "0.015",
65 "Test2" => "1.302170",
66 "Test2::API" => "1.302170",
67 "Test2::Bundle::Extended" => "0.000127",
68 "Test2::Event" => "1.302170",
69 "Test2::Event::V2" => "1.302170",
70 "Test2::Formatter" => "1.302170",
71 "Test2::Plugin::MemUsage" => "0.002003",
72 "Test2::Plugin::UUID" => "0.002001",
73 "Test2::Tools::AsyncSubtest" => "0.000127",
74 "Test2::Tools::Subtest" => "0.000127",
75 "Test2::Util" => "1.302170",
76 "Test2::Util::Term" => "0.000127",
77 "Test2::V0" => "0.000127",
78 "Test::Builder" => "1.302170",
79 "Test::Builder::Formatter" => "1.302170",
80 "Test::More" => "1.302170",
81 "Text::ParseWords" => 0,
82 "Time::HiRes" => 0,
83 "YAML::Tiny" => 0,
84 "base" => 0,
85 "constant" => 0,
86 "goto::file" => "0.005",
87 "parent" => 0
88 },
89 "TEST_REQUIRES" => {
90 "File::Copy" => 0
91 },
92 "VERSION" => "1.000179",
93 "test" => {
94 "TESTS" => "t/*.t t/integration/*.t t/integration/signals/*.t t/unit/App/*.t t/unit/App/Yath/*.t t/unit/App/Yath/Command/*.t t/unit/App/Yath/Options/*.t t/unit/App/Yath/Plugin/*.t t/unit/Test2/Harness/*.t t/unit/Test2/Harness/Auditor/*.t t/unit/Test2/Harness/Runner/*.t t/unit/Test2/Harness/Runner/Resource/SharedJobSlots/*.t t/unit/Test2/Harness/Settings/*.t t/unit/Test2/Harness/Stall/*.t t/unit/Test2/Harness/Util/*.t t/unit/Test2/Harness/Util/File/*.t t/unit/Test2/Tools/*.t"
95 }
96 );
97
98 my %FallbackPrereqs = (
99 "App::Yath::Script" => "2.000017",
100 "Carp" => 0,
101 "Config" => 0,
102 "Cwd" => 0,
103 "Data::Dumper" => 0,
104 "Data::UUID" => 0,
105 "Exporter" => 0,
106 "Fcntl" => 0,
107 "File::Copy" => 0,
108 "File::Find" => 0,
109 "File::Path" => "2.11",
110 "File::Spec" => 0,
111 "File::Temp" => 0,
112 "Filter::Util::Call" => 0,
113 "IO::Compress::Bzip2" => 0,
114 "IO::Compress::Gzip" => 0,
115 "IO::Handle" => "1.27",
116 "IO::Uncompress::Bunzip2" => 0,
117 "IO::Uncompress::Gunzip" => 0,
118 "IPC::Cmd" => 0,
119 "Importer" => "0.025",
120 "JSON::PP" => 0,
121 "List::Util" => "1.44",
122 "Long::Jump" => "0.000001",
123 "POSIX" => 0,
124 "Scalar::Util" => 0,
125 "Scope::Guard" => 0,
126 "Symbol" => 0,
127 "Sys::Hostname" => 0,
128 "Term::Table" => "0.015",
129 "Test2" => "1.302170",
130 "Test2::API" => "1.302170",
131 "Test2::Bundle::Extended" => "0.000127",
132 "Test2::Event" => "1.302170",
133 "Test2::Event::V2" => "1.302170",
134 "Test2::Formatter" => "1.302170",
135 "Test2::Plugin::MemUsage" => "0.002003",
136 "Test2::Plugin::UUID" => "0.002001",
137 "Test2::Tools::AsyncSubtest" => "0.000127",
138 "Test2::Tools::Subtest" => "0.000127",
139 "Test2::Util" => "1.302170",
140 "Test2::Util::Term" => "0.000127",
141 "Test2::V0" => "0.000127",
142 "Test::Builder" => "1.302170",
143 "Test::Builder::Formatter" => "1.302170",
144 "Test::More" => "1.302170",
145 "Text::ParseWords" => 0,
146 "Time::HiRes" => 0,
147 "YAML::Tiny" => 0,
148 "base" => 0,
149 "constant" => 0,
150 "goto::file" => "0.005",
151 "parent" => 0
152 );
153
154 unless ( eval { ExtUtils::MakeMaker->VERSION('6.63_03') } ) {
155 delete $WriteMakefileArgs{TEST_REQUIRES};
156 delete $WriteMakefileArgs{BUILD_REQUIRES};
157 $WriteMakefileArgs{PREREQ_PM} = \%FallbackPrereqs;
158 }
159
160 delete $WriteMakefileArgs{CONFIGURE_REQUIRES}
161 unless eval { ExtUtils::MakeMaker->VERSION(6.52) };
162
163 WriteMakefile(%WriteMakefileArgs);