| 1 |
Revision history for Dist-Zilla-Plugin-Test-Compile |
| 2 |
|
| 3 |
2.059 2025-12-16 23:48:46Z |
| 4 |
- now also testing scripts that use #!(/usr/bin/)?env perl in their shebangs |
| 5 |
|
| 6 |
2.058 2017-12-20 01:15:23Z |
| 7 |
- skip testing a script if -T is seen on the shebang line and $PERL5LIB is |
| 8 |
set (which will not be visible in taint mode) |
| 9 |
|
| 10 |
2.057 2017-08-20 00:55:40Z |
| 11 |
- load optional modules in generated test in such a way that |
| 12 |
Perl::PrereqScanner doesn't think they are required dependencies |
| 13 |
(this is only significant on perl 5.7.2 and older) |
| 14 |
|
| 15 |
2.056 2016-10-26 06:15:40Z |
| 16 |
- fix test failure on older perls |
| 17 |
|
| 18 |
2.055 2016-10-24 01:39:56Z |
| 19 |
- verbose diagnostics can now be enabled in the test with |
| 20 |
the PERL_COMPILE_TEST_DEBUG environment variable. |
| 21 |
- added "switch" option, for passing additional command-line switches |
| 22 |
|
| 23 |
2.054 2015-08-16 00:17:17Z |
| 24 |
- load blib as needed during tests, to check its $VERSION |
| 25 |
- use the :PerlExecFiles filefinder, when available (requires Dist::Zilla |
| 26 |
5.038) |
| 27 |
|
| 28 |
2.053 2015-06-01 03:33:51Z |
| 29 |
- filter out "Using .../lib" warning emitted by older blib when checking for |
| 30 |
warnings (reported by preaction) |
| 31 |
|
| 32 |
2.052 2015-03-28 06:09:55Z |
| 33 |
- always test for warnings if fail_on_warning=author and the generated test |
| 34 |
is in xt/author, without AUTHOR_TESTING having to be set |
| 35 |
|
| 36 |
2.051 2014-10-18 01:51:02Z |
| 37 |
- fix needs_display tests failing on MSWin32 since 2.048 |
| 38 |
|
| 39 |
2.050 2014-10-15 23:57:04Z |
| 40 |
- fix test (in our own test suite) that will break with an upcoming |
| 41 |
Test::More release |
| 42 |
|
| 43 |
2.049 2014-10-14 04:46:44Z |
| 44 |
- use documented Test::Builder interface to examine test details |
| 45 |
|
| 46 |
2.048 2014-10-11 21:54:16Z |
| 47 |
- make tests (and generated test) run when needs_display=1 and $DISPLAY is |
| 48 |
not set |
| 49 |
|
| 50 |
2.047 2014-10-10 05:19:20Z |
| 51 |
- avoid use of Test::More::explain in generated test when version is too old |
| 52 |
|
| 53 |
2.046 2014-08-20 15:10:15Z |
| 54 |
- When warnings occur under fail_on_warning, diag them. (GH #9, Kent Fredric) |
| 55 |
|
| 56 |
2.045 2014-08-07 04:25:14Z |
| 57 |
- re-release to remove README.pod from shipped dist |
| 58 |
|
| 59 |
2.044 2014-08-03 01:11:31Z |
| 60 |
- clean up dynamic prerequisite calculations |
| 61 |
- munge the file properly even if [ExtraTests] has already moved it |
| 62 |
|
| 63 |
2.043 2014-06-13 21:00:24Z |
| 64 |
- fix remaining failures on 5.10.0 (due to buggy -C flags) introduced in |
| 65 |
2.041 |
| 66 |
|
| 67 |
2.042 2014-06-04 02:28:25Z |
| 68 |
- fix test failures on older perls introduced in 2.041 |
| 69 |
|
| 70 |
2.041 2014-05-30 17:54:57Z |
| 71 |
- properly handle scripts with shebang lines with dashes in the path name, or |
| 72 |
extra whitespace, or comments (RT#95897) |
| 73 |
|
| 74 |
2.040 2014-04-06 18:54:08Z |
| 75 |
- fix bad x_breaks metadata |
| 76 |
- line numbers in shipped code are now almost the same (within 3) as the |
| 77 |
repository source, for easier debugging |
| 78 |
|
| 79 |
2.039 2013-12-02 05:23:01Z |
| 80 |
- fix bad handling of $stderr handle on win32 (from v2.038) |
| 81 |
|
| 82 |
2.038 2013-11-29 18:20:37Z |
| 83 |
- test now reuses the same $stdin and $stderr handles across all processes |
| 84 |
- now asserting minimum perl version required (5.6) in the generated test |
| 85 |
- new 'file' option, for adding extra files to be checked |
| 86 |
|
| 87 |
2.037 2013-10-18 01:18:15Z |
| 88 |
- files are loaded from lib/ if blib/ does not exist |
| 89 |
- now properly falling back to lib/ for scripts too |
| 90 |
|
| 91 |
2.036 2013-10-12 21:32:51Z |
| 92 |
- new "xt_mode" option (thanks, David Golden!) |
| 93 |
|
| 94 |
2.035 2013-10-12 17:35:49Z |
| 95 |
- new "phase" option, for selecting how prereqs are injected (thanks, David |
| 96 |
Golden!) |
| 97 |
|
| 98 |
2.034 2013-10-06 06:24:12Z |
| 99 |
- now checking the full, unshifted value of $? (thanks, ribasushi!) |
| 100 |
- fixed incomplete prerequisite specification on Test::Warnings |
| 101 |
|
| 102 |
2.033 2013-09-20 23:52:40Z |
| 103 |
- revert to IPC::Open3 implementation from v2.031 and earlier, but with |
| 104 |
waitpid ordering fixed so we never hang (thanks haarg!) |
| 105 |
- now bootstrapping ourselves so our own compile test is generated with the |
| 106 |
version of code we are shipping, rather than version N-1 |
| 107 |
|
| 108 |
2.032 2013-09-20 01:02:20Z |
| 109 |
- add missing prereq injection for File::Spec, when scripts are being tested |
| 110 |
- redo entire implementation, reverting from IPC::Open3 back to a capture{}, |
| 111 |
using an inlined form of the guts of Capture::Tiny courtesy of David |
| 112 |
Golden, to address ongoing occasional hang issues on win32 (see RT#88783 |
| 113 |
for the longer version) |
| 114 |
|
| 115 |
2.031 2013-09-19 04:49:51Z |
| 116 |
- bypass cmd.exe on win32 to try to avoid occasional hang issue (RT#88783) |
| 117 |
|
| 118 |
2.030 2013-09-11 05:01:26Z |
| 119 |
- depend on fixed Test::Warnings, where ':no_end_test' also covers the |
| 120 |
done_testing case (which turned out to be a red herring) |
| 121 |
|
| 122 |
2.029 2013-09-10 01:19:46Z |
| 123 |
- fix test failures for non-authors (oops) |
| 124 |
|
| 125 |
2.028 2013-09-10 01:12:53Z |
| 126 |
- fix binmode issue on win32 (introduced in 2.026) |
| 127 |
- warnings tests bypassed during installation, to prevent installation issues |
| 128 |
in the presence of deprecation warnings from upstream dependencies (in this |
| 129 |
case, via Moose 2.1100) |
| 130 |
- new 'filename' option, for creating the compile test in a different |
| 131 |
location |
| 132 |
|
| 133 |
2.027 2013-09-08 16:36:45Z |
| 134 |
- promise in documentation that the generated test requires no non-core |
| 135 |
modules, and is compatible with perl 5.6.2 |
| 136 |
- re-release with properly encoded META.yml |
| 137 |
|
| 138 |
2.026 2013-09-07 00:47:15Z |
| 139 |
- more fixes (hopefully the last) for script checking on win32 |
| 140 |
|
| 141 |
2.025 2013-09-04 01:32:34Z |
| 142 |
- more thoroughly test the generated test that no non-core modules are |
| 143 |
required, and syntax does not require a perl later than 5.8.8 |
| 144 |
- fix use of regex syntax in script checking that required perl 5.9.5 |
| 145 |
- properly screen out expected warnings from perl -c on older perls |
| 146 |
|
| 147 |
2.024 2013-09-03 00:02:21Z |
| 148 |
- update warning regexp in test yet again, due to win32 failures (does not |
| 149 |
concern the generated test) |
| 150 |
|
| 151 |
2.023 2013-08-30 01:27:54Z |
| 152 |
- now routing subprocesses' stdout to our stderr rather than throwing it |
| 153 |
away, for greater visibility into any side effects caused by loading |
| 154 |
modules |
| 155 |
- removed use of Test::Script entirely for testing scripts - now instead we |
| 156 |
call perl -c ourselves |
| 157 |
- we can now properly test scripts using special flags such as -T |
| 158 |
- now skipping non-perl scripts, by checking shebang lines |
| 159 |
- now any version of Test::More can be used (if the bail_out_on_fail option |
| 160 |
is not set) |
| 161 |
|
| 162 |
2.022 2013-08-29 02:04:55Z |
| 163 |
- documentation fixes and cleanup |
| 164 |
- added missing test prereq on Test::Script (but still not injected into the |
| 165 |
built dist unless scripts are being shipped) |
| 166 |
- stop looking for newlines during install-time testing, to avoid needless |
| 167 |
failure on win32 (does not concern the generated test) |
| 168 |
|
| 169 |
2.021 2013-08-27 00:59:49Z |
| 170 |
- fix incomplete prereq declaration on Test::Warnings |
| 171 |
- work around dubious install-time test failure on win32 with absolute |
| 172 |
filenames in tests (does not concern the generated test) |
| 173 |
|
| 174 |
2.020 2013-08-24 18:06:49Z |
| 175 |
- fixed test prereq for Module::CoreList (thanks ambs!) |
| 176 |
- removed long-deprecated [CompileTests] |
| 177 |
|
| 178 |
2.019 2013-08-24 04:09:07Z |
| 179 |
- now properly handling filenames with non-ascii characters |
| 180 |
- use IPC::Open3 for each subprocess, rather than Capture::Tiny; test added |
| 181 |
to confirm that no non-core prereqs are used (except sometimes |
| 182 |
Test::Script) |
| 183 |
|
| 184 |
2.018 2013-08-04 02:25:37Z |
| 185 |
- delay inserting the list of modules to check until after all plugins have |
| 186 |
had an opportunity to add files (found via RT#87562) |
| 187 |
- fail_on_warning setting now also takes into consideration the results of |
| 188 |
script compilation checks |
| 189 |
|
| 190 |
2.017 2013-08-03 18:06:44Z |
| 191 |
- fix conflicts metadata entry for Test::Kwalitee::Extra (I misinterpreted |
| 192 |
the metaspec as to what conflicts actually means!) |
| 193 |
|
| 194 |
2.016 2013-08-02 18:48:44Z |
| 195 |
- convert Foo\Bar.pm to Foo/Bar.pm for proper %INC retrieval on win32 |
| 196 |
(thanks, haarg!) |
| 197 |
|
| 198 |
2.015 2013-08-02 18:22:28Z |
| 199 |
- fix double-quoting of file paths in require statement, introduced in v2.006 |
| 200 |
(thanks, Peter Shangov!) |
| 201 |
|
| 202 |
2.014 2013-08-01 02:37:00Z |
| 203 |
- fix install tests on win32, broken since 2.011 (RT#84781) |
| 204 |
- properly munge filenames on win32 (broken since 2.013) |
| 205 |
|
| 206 |
2.013 2013-07-30 19:54:52Z |
| 207 |
- .pm files are tested with -Mblib again; 2.012 was a mistake. |
| 208 |
- now require()ing files without the leading lib/, to avoid potentially |
| 209 |
loading files twice (a problem since 2.009) - thanks dolmen and haarg! |
| 210 |
|
| 211 |
2.012 2013-07-30 19:12:53Z |
| 212 |
- .pm files are once again tested with -Ilib, instead of -Mblib, to avoid |
| 213 |
potentially loading files twice (this was changed in 2.009). |
| 214 |
|
| 215 |
2.011 2013-07-28 22:45:53Z |
| 216 |
- .pod files are now always omitted from the list of found modules in the |
| 217 |
dist (thanks for the report, Alberto Simões!) |
| 218 |
|
| 219 |
2.010 2013-07-27 00:45:51Z |
| 220 |
- add conflicts metadata for Test::Kwalitee::Extra, which does not like the |
| 221 |
require() syntax we use |
| 222 |
- all changes since 2.002 now as a stable release: |
| 223 |
|
| 224 |
[FEATURES] |
| 225 |
- new fail_on_warning option |
| 226 |
- the 'skip' option can now be provided multiple times |
| 227 |
- calculate the list of files to check at build time, rather than using |
| 228 |
File::Find at runtime; the filefinders used are configurable. |
| 229 |
|
| 230 |
[IMPLEMENTATION DETAILS] |
| 231 |
- include a comment in the generated test indicating how it was generated |
| 232 |
- modules used by the test are injected as test requires dependencies. |
| 233 |
- avoid trying to load Test::Script if there are no scripts to check |
| 234 |
- we now load the .pm file, rather than attempting to calculate the module |
| 235 |
name and then loading that |
| 236 |
- if there are scripts to be tested, Test::Script is now mandatory; |
| 237 |
accurate prerequisites are injected into the dist in all cases |
| 238 |
- properly inject all used modules as test prerequisites |
| 239 |
- now using Text::Template to generate the test, for simpler munging code |
| 240 |
|
| 241 |
2.009 2013-07-20 17:40:25Z (TRIAL RELEASE) |
| 242 |
- the 'skip' option can now be provided multiple times |
| 243 |
- now using Text::Template to generate the test, for simpler munging code |
| 244 |
- properly inject all used modules as test prerequisites |
| 245 |
|
| 246 |
2.008 2013-07-20 01:40:11Z (TRIAL RELEASE) |
| 247 |
- screen out skipped files at test generation time, rather than at runtime |
| 248 |
(and make skips work again - broken in 2.007-TRIAL) |
| 249 |
|
| 250 |
2.007 2013-07-20 01:14:30Z (TRIAL RELEASE) |
| 251 |
- if there are scripts to be tested, Test::Script is now mandatory; accurate |
| 252 |
prerequisites are injected into the dist in all cases |
| 253 |
|
| 254 |
2.006 2013-07-17 19:38:55Z (TRIAL RELEASE) |
| 255 |
- we now load the .pm file, rather than attempting to calculate the module |
| 256 |
name and then loading that |
| 257 |
- avoid trying to load Test::Script if there are no scripts to check |
| 258 |
- calculate the list of files to check at build time, rather than using |
| 259 |
File::Find at runtime; the filefinders used are configurable. |
| 260 |
- modules used by the test are injected as test requires dependencies. |
| 261 |
|
| 262 |
2.005 2013-07-14 19:54:24Z (TRIAL RELEASE) |
| 263 |
- fixed use of quoting in shell command to resolve mswin32 issues (introduced |
| 264 |
in 2.003) |
| 265 |
- include a comment in the generated test indicating how it was generated |
| 266 |
|
| 267 |
2.004 2013-07-01 05:17:25Z (TRIAL RELEASE) |
| 268 |
- fixed typo in fail_on_warning=author |
| 269 |
|
| 270 |
2.003 2013-07-01 04:39:31Z (TRIAL RELEASE) |
| 271 |
- new fail_on_warning option (Karen Etheridge) |
| 272 |
|
| 273 |
2.002 2013-04-28 16:19:00Z |
| 274 |
- require version of Test::More that added is_passing() |
| 275 |
(RT#84904, Karen Etheridge) |
| 276 |
|
| 277 |
2.001 2013-02-12 12:03:37Z |
| 278 |
- fix EOL in generated test (Olivier Mengué) |
| 279 |
|
| 280 |
2.000 2013-02-11 12:52:18Z |
| 281 |
- new bail_out_on_fail option (Karen Etheridge) |
| 282 |
- dzil migrated to @Author::JQUELIN |
| 283 |
|
| 284 |
1.112820 2011-10-09 09:31:56Z |
| 285 |
- look for scripts in scripts/ too (chris weyl) |
| 286 |
|
| 287 |
1.112400 2011-08-28 12:41:01Z |
| 288 |
- fix breakage introduced by __END__ markers (randy stauner) |
| 289 |
- added test suite (randy stauner) |
| 290 |
|
| 291 |
1.112392 2011-08-27 10:56:36Z |
| 292 |
- examples/ updated to use new module name |
| 293 |
|
| 294 |
1.112391 2011-08-27 10:50:33Z |
| 295 |
- more aggressive deprecation in documentation |
| 296 |
- minimum date before DZP::CompileTests removal: 2012-08-27 |
| 297 |
- github repository renamed to match new dist name |
| 298 |
|
| 299 |
1.112390 2011-08-27 10:40:32Z |
| 300 |
- renamed to Dist::Zilla::Plugin::Test::Compile. DZP::CompileTests, |
| 301 |
although deprecated, continues to work (fredric kent) |
| 302 |
- eliminate multiple phases work (fredric kent) |
| 303 |
|
| 304 |
1.112380 2011-08-26 12:28:44Z |
| 305 |
- skip non-perl scripts in bin directory (harley pig) |
| 306 |
|
| 307 |
1.110930 2011-04-03 10:19:08Z |
| 308 |
- fix rt#67183 - do not fail if no bin directory exists |
| 309 |
|
| 310 |
1.110870 2011-03-28 11:44:54Z |
| 311 |
- allow regex skip of script files (jesse luehrs) |
| 312 |
|
| 313 |
1.103030 2010-10-30 14:00:24Z |
| 314 |
- Removed reuse of Test::NeedsDisplay. It fails when DISPLAY is not |
| 315 |
set! (ahmad m. zawawi) |
| 316 |
|
| 317 |
1.103010 2010-10-28 16:26:19Z |
| 318 |
- no_display is now called needs_display and it reuses |
| 319 |
Test::NeedsDisplay (ahmad m. zawawi) |
| 320 |
|
| 321 |
1.103000 2010-10-27 08:16:26Z |
| 322 |
- new option no_display to skip tests on non win32 systems when |
| 323 |
$ENV{DISPLAY} is not set (ahmad m. zawawi) |
| 324 |
|
| 325 |
1.101800 2010-06-29 17:42:20Z |
| 326 |
- skip all if no test are to be run (jesse luehrs) |
| 327 |
- require module instead of use, to test only compilation (jesse luehrs) |
| 328 |
|
| 329 |
1.101600 2010-06-09 12:01:21Z |
| 330 |
- fix #55957: strip leading white spaces in module output |
| 331 |
|
| 332 |
1.101500 2010-05-30 16:55:12Z |
| 333 |
- fix #57974: test::script 1.05 changed its interface |
| 334 |
|
| 335 |
1.100740 2010-03-15 17:29:52Z |
| 336 |
- allow PERL5OPT to get a chance to be respected (marcel gruenauer) |
| 337 |
|
| 338 |
1.100220 2010-01-22 15:26:16Z |
| 339 |
- new param fake_home to control $ENV{HOME} faking |
| 340 |
|
| 341 |
1.100160 2010-01-16 13:43:14Z |
| 342 |
- requiring perl 5.8.x |
| 343 |
- faking $ENV{HOME} for cpantesters |
| 344 |
|
| 345 |
1.092870 2009-10-14 09:10:00 |
| 346 |
- fix: skip did not update test count |
| 347 |
|
| 348 |
1.092840 2009-10-11 19:12:32 |
| 349 |
- support for skip parameter |
| 350 |
|
| 351 |
1.092460 2009-09-03 17:26:23 |
| 352 |
- using less magical load test (as kentnl reported) |
| 353 |
|
| 354 |
1.092370 2009-08-25 16:57:16 |
| 355 |
- using plain File::Find which is core (rjbs) |
| 356 |
- moving to autoversion: 1.yydddn |
| 357 |
|
| 358 |
0.1.3 2009-08-11 15:58:19 CEST |
| 359 |
- automatically add File::Find::Rule to prereqs (fix #48602) |
| 360 |
|
| 361 |
0.1.2 2009-08-07 10:26:31 |
| 362 |
- skip script tests if test::script isn't installed |
| 363 |
|
| 364 |
0.1.1 2009-08-06 15:43:34 |
| 365 |
- fix manifest |
| 366 |
|
| 367 |
0.1.0 2009-08-06 15:34:26 |
| 368 |
- original release |
| 369 |
- basic compilation tests |
| 370 |
|