Tom Wyant
and 2 contributors


make-regression - Generate a regression test


 make-regression -output xt/author/
 make-regression -help
 make-regression -version



This option displays the documentation for this script. The script then exits.


If this Boolean option is asserted and the output file exists, it is not overwritten. This option is ignored if the output is -.

The default is -noidempotent.


 -output xt/author/regression.t

This option specifies the output file. A single dash (-) is understood as specifying standard output.

The default is xt/author/regression.t.


This option displays the version of this script. The script then exits.


This Perl script generates a regression test to detect any change in behaviour of the Date::Tolkien::Shire module. This test consists of calling each method for each day in the intervals 1999-01-01 to 2002-12-31 inclusive, and 2035-01-01 to 2038-12-31 inclusive, and verifying that all calls produce the same results as when the regression test was generated.

The test is written to the file specified by the -output argument.

Note that unless -idempotent is specified and the output file exists, the PAR module is required.


Thomas R. Wyant, III wyant at cpan dot org


Copyright (C) 2017-2019 by Thomas R. Wyant, III

This program is free software; you can redistribute it and/or modify it under the same terms as Perl 5.10.0. For more details, see the full text of the licenses in the directory LICENSES.

This program is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose.