'src-dir=s' => \$src_dir,
) or die "could not parse options - $!";
-if ( !defined $src_dir )
+if ( !defined($src_dir) )
{
die "--src-dir was not defined";
}
}
}
-# Cancelling because it's now part of the prove-based tests.
-if (0)
-{
- do_system( { cmd => [ $^X, "$src_dir/tests/trailing-space-and-CRs.pl" ] } );
-}
-
-eval {
- do_system(
- {
- cmd => [
- 'prove', ( $IS_WIN ? ("-v") : () ),
- glob("$src_dir/tests/t/*.t")
- ]
- }
- );
-};
-
-my $E = $@;
-if ( $ENV{FORTUNE_TEST_DEBUG} )
-{
- system( "python", "$src_dir/tests/fortune-m-test.py" );
-}
-if ($E)
-{
- die $E;
-}
+do_system(
+ {
+ cmd => [
+ 'prove', ( $IS_WIN ? ("-v") : () ), glob("$src_dir/tests/t/*.t")
+ ]
+ }
+);