| 1 |
name = Test2-Harness |
| 2 |
author = Chad Granum <[email protected]> |
| 3 |
license = Perl_5 |
| 4 |
copyright_holder = Chad Granum |
| 5 |
|
| 6 |
[RewriteVersion] ; sets dist version from main module's $VERSION |
| 7 |
[License] |
| 8 |
[ManifestSkip] |
| 9 |
[Manifest] |
| 10 |
[NextRelease] |
| 11 |
[GatherFile] |
| 12 |
filename = .yath.rc |
| 13 |
; Gathered by name: the .md exclusion below would otherwise drop it. |
| 14 |
filename = AI_AND_LLM_POLICY.md |
| 15 |
|
| 16 |
[GatherDir] |
| 17 |
exclude_match = ^xt/downstream ; only run these tests locally |
| 18 |
exclude_match = ^pt ; only run these tests locally |
| 19 |
exclude_match = ^tt ; only run these tests locally |
| 20 |
exclude_match = ^release-scripts |
| 21 |
exclude_match = ^cover |
| 22 |
exclude_match = ^nyt |
| 23 |
exclude_match = ^test-logs |
| 24 |
exclude_match = ^t/ |
| 25 |
exclude_match = ^t2/ |
| 26 |
exclude_match = ^old/ |
| 27 |
exclude_match = ^agent_scripts/ ; dev-only tooling |
| 28 |
exclude_match = ^AI_DOCS/ ; dev-only notes |
| 29 |
exclude_match = ^worktrees ; agent working state |
| 30 |
exclude_match = \.md$ ; internal docs never ship |
| 31 |
exclude_filename = LICENSE |
| 32 |
exclude_filename = Makefile.PL |
| 33 |
exclude_filename = cpanfile |
| 34 |
exclude_filename = cpanfile.ci |
| 35 |
exclude_filename = README |
| 36 |
exclude_filename = README.md |
| 37 |
exclude_filename = TEMPLATE.pod |
| 38 |
exclude_filename = .yath-persist.json |
| 39 |
|
| 40 |
[PruneCruft] |
| 41 |
; PruneCruft drops every root dotfile, which would undo the [GatherFile] above. |
| 42 |
except = ^\.yath\.rc$ |
| 43 |
|
| 44 |
[Git::GatherDir / GatherDotFilesT] |
| 45 |
root = t/ |
| 46 |
prefix = t/ |
| 47 |
include_dotfiles = 1 |
| 48 |
|
| 49 |
[Git::GatherDir / GatherDotFilesT2] |
| 50 |
root = t2/ |
| 51 |
prefix = t2/ |
| 52 |
include_dotfiles = 1 |
| 53 |
|
| 54 |
[Run::AfterBuild] |
| 55 |
run = release-scripts/generate_command_pod.pl %d |
| 56 |
run = release-scripts/generate_options_pod.pl %d |
| 57 |
|
| 58 |
[PodSyntaxTests] |
| 59 |
[TestRelease] |
| 60 |
[RunExtraTests] |
| 61 |
|
| 62 |
[MetaResources] |
| 63 |
bugtracker.web = https://github.com/Test-More/Test2-Harness/issues |
| 64 |
repository.url = https://github.com/Test-More/Test2-Harness/ |
| 65 |
repository.type = git |
| 66 |
|
| 67 |
[Prereqs] |
| 68 |
perl = 5.010000 |
| 69 |
Test2 = 1.302170 |
| 70 |
Test2::API = 1.302170 |
| 71 |
Test2::Event = 1.302170 |
| 72 |
Test2::Event::V2 = 1.302170 |
| 73 |
Test2::Formatter = 1.302170 |
| 74 |
Test2::Util = 1.302170 |
| 75 |
Test::Builder = 1.302170 |
| 76 |
Test::Builder::Formatter = 1.302170 |
| 77 |
Test::More = 1.302170 |
| 78 |
Test2::Tools::AsyncSubtest = 0.000127 |
| 79 |
Test2::Tools::Subtest = 0.000127 |
| 80 |
Test2::Util::Term = 0.000127 |
| 81 |
Test2::V0 = 0.000127 |
| 82 |
Test2::Bundle::Extended = 0.000127 |
| 83 |
Test2::Plugin::MemUsage = 0.002003 |
| 84 |
Test2::Plugin::UUID = 0.002001 |
| 85 |
Long::Jump = 0.000001 |
| 86 |
Term::Table = 0.015 |
| 87 |
Importer = 0.025 |
| 88 |
goto::file = 0.005 |
| 89 |
File::Path = 2.11 |
| 90 |
List::Util = 1.44 |
| 91 |
IO::Handle = 1.27 |
| 92 |
YAML::Tiny = 0 |
| 93 |
Data::UUID = 0 |
| 94 |
File::Find = 0 |
| 95 |
Carp = 0 |
| 96 |
Config = 0 |
| 97 |
Cwd = 0 |
| 98 |
Data::Dumper = 0 |
| 99 |
Exporter = 0 |
| 100 |
Fcntl = 0 |
| 101 |
File::Spec = 0 |
| 102 |
File::Temp = 0 |
| 103 |
Filter::Util::Call = 0 |
| 104 |
IO::Compress::Bzip2 = 0 |
| 105 |
IO::Compress::Gzip = 0 |
| 106 |
IO::Uncompress::Bunzip2 = 0 |
| 107 |
IO::Uncompress::Gunzip = 0 |
| 108 |
IPC::Cmd = 0 |
| 109 |
JSON::PP = 0 |
| 110 |
POSIX = 0 |
| 111 |
Scalar::Util = 0 |
| 112 |
Symbol = 0 |
| 113 |
Time::HiRes = 0 |
| 114 |
base = 0 |
| 115 |
constant = 0 |
| 116 |
parent = 0 |
| 117 |
Sys::Hostname = 0 |
| 118 |
Scope::Guard = 0 |
| 119 |
Text::ParseWords = 0 |
| 120 |
App::Yath::Script = 2.000017 |
| 121 |
|
| 122 |
[Prereqs / TestRequires] |
| 123 |
File::Copy = 0 |
| 124 |
|
| 125 |
[Prereqs / DevelopRequires] |
| 126 |
Test::Spelling = 0.12 ; for xt/author/pod-spell.t |
| 127 |
Test2::Require::Module = 0.000127 |
| 128 |
|
| 129 |
[Prereqs / RuntimeSuggests] |
| 130 |
JSON::MaybeXS = 0 |
| 131 |
Cpanel::JSON::XS = 0 |
| 132 |
Term::ANSIColor = 4.03 |
| 133 |
Email::Stuffer = 0.016 |
| 134 |
HTTP::Tiny = 0.070 |
| 135 |
IO::Pager = 1.00 |
| 136 |
Test2::Plugin::IOEvents = 0.001001 |
| 137 |
HTTP::Tiny::Multipart = 0.08 |
| 138 |
Test2::Plugin::DBIProfile = 0.002002 |
| 139 |
Test2::Plugin::Cover = 0.000029 |
| 140 |
Win32::Console::ANSI = 0 |
| 141 |
|
| 142 |
[MakeMaker::Awesome] |
| 143 |
:version = 0.26 |
| 144 |
delimiter = | |
| 145 |
header = |use Config qw/%Config/; |
| 146 |
header = |die "OS unsupported\nTest2-Harness currently only works on systems that support true forking.\n" |
| 147 |
header = | unless $Config{d_fork}; |
| 148 |
header = |if ($ENV{AUTOMATED_TESTING}) { |
| 149 |
header = | my $is_njh = 0; |
| 150 |
header = | $is_njh ||= -d '/export/home/njh'; |
| 151 |
header = | $is_njh ||= -d '/home/njh'; |
| 152 |
header = | $is_njh ||= lc($ENV{USER} // 'na') eq 'njh'; |
| 153 |
header = | $is_njh ||= lc($ENV{HOME} // 'na') =~ m{njh$}; |
| 154 |
header = | $is_njh ||= lc($ENV{PATH} // 'na') =~ m{/njh/}; |
| 155 |
header = | die "OS unsupported\nNJH smokers are broken, aborting tests.\n" |
| 156 |
header = | if $is_njh; |
| 157 |
header = |} |
| 158 |
|
| 159 |
[CPANFile] |
| 160 |
[MetaYAML] |
| 161 |
[MetaJSON] |
| 162 |
|
| 163 |
; authordep Pod::Markdown |
| 164 |
[ReadmeFromPod / Markdown] |
| 165 |
filename = lib/App/Yath.pm |
| 166 |
type = markdown |
| 167 |
readme = README.md |
| 168 |
|
| 169 |
[ReadmeFromPod / Text] |
| 170 |
filename = lib/App/Yath.pm |
| 171 |
type = text |
| 172 |
readme = README |
| 173 |
|
| 174 |
[CopyFilesFromBuild] |
| 175 |
copy = LICENSE |
| 176 |
copy = cpanfile |
| 177 |
copy = README |
| 178 |
copy = README.md |
| 179 |
copy = Makefile.PL |
| 180 |
|
| 181 |
[Git::Check] |
| 182 |
allow_dirty = Makefile.PL |
| 183 |
allow_dirty = README |
| 184 |
allow_dirty = README.md |
| 185 |
allow_dirty = cpanfile |
| 186 |
allow_dirty = LICENSE |
| 187 |
allow_dirty = Changes |
| 188 |
|
| 189 |
[Git::Commit] |
| 190 |
allow_dirty = Makefile.PL |
| 191 |
allow_dirty = README |
| 192 |
allow_dirty = README.md |
| 193 |
allow_dirty = cpanfile |
| 194 |
allow_dirty = LICENSE |
| 195 |
allow_dirty = Changes |
| 196 |
|
| 197 |
[Git::Tag] |
| 198 |
|
| 199 |
[FakeRelease] |
| 200 |
|
| 201 |
[BumpVersionAfterRelease] |
| 202 |
|
| 203 |
[Git::Commit / Commit_Changes] |
| 204 |
munge_makefile_pl = true |
| 205 |
allow_dirty_match = ^lib |
| 206 |
allow_dirty_match = ^scripts |
| 207 |
allow_dirty = Makefile.PL |
| 208 |
allow_dirty = README |
| 209 |
allow_dirty = README.md |
| 210 |
allow_dirty = cpanfile |
| 211 |
allow_dirty = LICENSE |
| 212 |
commit_msg = Automated Version Bump |