Commit fd99c6b5 authored by Richard Levitte's avatar Richard Levitte
Browse files

Change OpenSSL::Test to be an extension of Test::More



It became tedious as well as error prone to have all recipes use
Test::More as well as OpenSSL::Test.  The easier way is to make
OpenSSL::Test an extension of Test::More, thereby having all version
checks as well as future checks firmly there.  Additionally, that
allows us to extend existing Test::More functions if the need would
arise.

Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
parent caadc543
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -3,8 +3,6 @@
use strict;

use File::Spec::Functions;
use Test::More 0.96;

use OpenSSL::Test qw/:DEFAULT top_file/;

setup("check_testexes");
@@ -51,7 +49,7 @@ my $MINFO = top_file("MINFO");

     plan tests => $numtests;

     skip "because $MINFO found. If you want this test to run, please do 'perl util/mkfiles.pl > $MINFO'", 1
     skip "because $MINFO not found. If you want this test to run, please do 'perl util/mkfiles.pl > $MINFO'", 1
	 unless %foundfiles;

     foreach (sort keys %foundfiles) {
+0 −1
Original line number Diff line number Diff line
@@ -5,7 +5,6 @@ use warnings;

use Math::BigInt;

use Test::More 0.96;
use OpenSSL::Test qw/:DEFAULT top_file/;

setup("test_bn");
+0 −1
Original line number Diff line number Diff line
@@ -4,7 +4,6 @@ use strict;
use warnings;

use File::Spec;
use Test::More 0.96;
use OpenSSL::Test qw/:DEFAULT top_file/;

setup("test_dsa");
+0 −1
Original line number Diff line number Diff line
@@ -4,7 +4,6 @@ use strict;
use warnings;

use File::Spec;
use Test::More 0.96;
use OpenSSL::Test qw/:DEFAULT top_file/;

setup("test_ec");
+0 −1
Original line number Diff line number Diff line
@@ -4,7 +4,6 @@ use strict;
use warnings;

use File::Spec;
use Test::More 0.96;
use OpenSSL::Test qw/:DEFAULT top_file/;

setup("test_rsa");
Loading