-
Notifications
You must be signed in to change notification settings - Fork 8
/
Changes
225 lines (125 loc) · 6.35 KB
/
Changes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
{{$NEXT}}
0.27 2019-01-19
- If test_all_dependents() cannot find anything that depends on the given
module it runs `plan( skip_all => ... )` rather than `plan(0)`. The latter
causes the test to fail. While this should never really happen in normal use
it can be an issue when MetaCPAN is having problems (such as
https://github.com/metacpan/metacpan-web/issues/2139).
- Explicitly add JSON::PP to our prereqs. This seems to fix an issue with
testing on Perl 5.10.1. This module is needed by something in our dependency
chain but it doesn't get installed.
0.26 2015-11-07
- The previous release only had a partial fix for failures to resolve distro
names. This release fixes this more completely.
0.25 2015-11-07
- This module would die when it couldn't turn a dependent module name into a
distro. Now it outputs a diag() message and continues on.
0.24 2015-10-04
- When test_all_dependents() is called, deps are now sorted before testing.
- The prereqs log now tells shows you the "root" distribution when installing
prereqs of prereqs. This makes it easier to figure out which dependent is
pulling in some uninstallable module.
0.23 2015-10-04
- Use diag to print the name of each distribution before it is tested. This is
helpful if a particular distro hangs during the build or test phases.
0.22 2015-08-21
- The test_all_dependents() sub now lets you pass a filter subroutine instead
of an exclude regex. This is a lot simpler to implement in many cases.
0.21 2015-07-17
- If PERL_TEST_DM_CPAN_VERBOSE was true and Test::More had not been loaded in
the process you would get an error. GH #9.
0.20 2014-08-31
- The use of MetaCPAN::Client was a bit broken. Patch by Sawyer X. PR #8.
0.19 2014-06-26
- Switched from the now deprecated MetaCPAN::API to the shiny new
MetaCPAN::Client. Patch by Mickey. PR #7.
0.18 2014-05-04
- A distro which used Module::Build and ran no tests would be marked as
failure. Fixed by Graham Knop.
- Under debug mode, the output from the CPAN module's init phase is no longer
output via diag() calls. Patch by Graham Knop.
- Better handling of module prereqs which in turn share prereqs with the
module we're installing. Patch by Graham Knop.
0.17 2013-07-13
- Packaging fixes so CPAN ignores our test corpus modules. Patch by Graham
Knopp.
0.16 2013-07-13
- Distros where all tests are skipped or where no tests exist are considered
as passing. Previously they were a failure. Fixed by Graham Knopp.
- Added some real tests. Written by Graham Knopp.
0.15 2013-05-13
- The change in 0.14 broke non-parallel testing in the test_modules()
subroutine. This was my fault, not Graham's. Reported by Graham Knopp.
0.14 2013-03-13
- Fix a bug where the value of $_ in a loop could be overwritten in
test_modules. Patch by Graham Knopp.
0.13 2012-04-19
- Use MetaCPAN to look up reverse dependencies instead of CPANDB. Patch by
Jesse Luehrs.
- Silence all of the test running and installing. Patch by Jesse Luehrs.
- Avoid dying on avoidable errors (turn them into test fails or skips as
appropriate). Patch by Jesse Luehrs.
- Use Test::Builder instead of Test::More so $TODO works properly. Also, mark
todo tests in the log files. Patch by Jesse Luehrs.
- The test_module sub now also initializes the log files. Patch by Jesse
Luehrs.
- A distro's configure_requires prereqs are now respected. Patch by Jesse
Luehrs.
0.12 2011-07-20
- Logging was broken when using multiple processes. The prereq log file would
end up appearing under multiple names (potentially one per process), and the
files were not locked for writing in each process.
- The directory to which prereqs were installed got cleaned out after each
process exited when running multiple processes, which often caused false
failures for modules being tested.
0.11 2011-04-21
- Forcibly reload the CPAN index each time this module runs tests. This gives
you the best chance of finding the most reecent version of a dependent
module.
0.10 2011-04-21
- Test output now includes the distribution id rather than just a module name,
meaning you can see the distro version in the ok line.
0.09 2011-04-12
- Parallel testing caused bad test output when a test was skipped because a
module could not be found on CPAN.
- The output from running a distro's Makefile.PL/Build.PL could stomp on the
TAP output when running tests in parallel. We now simply close STDOUT when
running this step, which is less than ideal, but fixes the breakage.
0.08 2011-04-12
- This module can now run tests in parallel if you have Parallel::ForkManager
installed. See the docs for details.
- The test_module() sub has been deprecated in favor a new sub,
test_modules(). If you use test_module(), you can't ever run tests in
parallel.
- We now defer loading CPAN.pm and related modules until tests are
running. This avoids the possibility of CPAN prompting for config if
Test::DependentModules is loaded but not actually used.
0.07 2010-07-15
- Include author id in status line.
0.06 2010-07-14
- Ignore cargo-culted diag() output that's present in many modules, looking
like this:
# Testing Foo::Bar 0.01, Perl 5.00801, /usr/bin/perl
This was being treated as a warning, but it can safely be ignored.
0.05 2009-12-12
- Renamed the test_all_my_deps function to test_all_dependents.
0.04 2009-12-12
- Renamed to Test::DependentModules, since as Jesse Luehrs pointed out, we're
not testing our dependencies, we're testing things that depend on us.
- All environment variables names starting with PERL_TEST_MD now start with
PERL_TEST_DM.
- In some weird inexplicable case, testing a module seemed to somehow trigger
File::Temp's cleanup routine too early, deleting the temp dir containing
temporary prereq installations. Test::MyDeps now manages its temp dir
manually.
- Changed how logging works. There are now three log files created, and you
specify a log _directory_, not a file, via the
0.03 2009-12-12
- Added missing prereq on IO::Handle::Util
0.02 2009-12-12
- Fixed test_all_my_deps so the exclude parameter actually works.
- The PERL5LIB var did not include the temp dir containing temporarily
installed second+ level depenencies.
- Renamed the TEST_PERL_MD_CPAN_VERBOSE env var to PERL_TEST_MD_CPAN_VERBOSE.
0.01 2009-12-12
- First version, released on an unsuspecting world.