This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
If a unit test doesn't finish in 5 minutes, it's not a unit test.
authorJarkko Hietaniemi <jhi@iki.fi>
Fri, 14 Oct 2016 02:04:20 +0000 (22:04 -0400)
committerJarkko Hietaniemi <jhi@iki.fi>
Sat, 15 Oct 2016 00:25:15 +0000 (20:25 -0400)
commit877b982928bd23c44e063a6506419b9c5e214b15
tree1407017a58f1d752c2455c8d0eb238e608bae052
parent245c138eeeb54c68f594609593a6d05004ef4d82
If a unit test doesn't finish in 5 minutes, it's not a unit test.

These tests seem to often be outliers in execution time.  In faster
modern machines the slowness is not noticeable, but in slower machines
these are excruciatingly slow.

In slow machines these tests may grind for hours, but that is not
that useful information.  We know the machine is slow, already.

The uniprops.t could also use the watchdog, except that TestProp.pl
seems to be purposefully avoiding using test.pl.
t/re/fold_grind.t
t/re/pat_psycho.t
t/re/uniprops.t