mirror of
https://github.com/QuasarApp/openssl.git
synced 2025-05-02 12:39:38 +00:00
Fix use of "can_load()" in run_tests.pl.
CLA: Trivial Fixes #3563. Reviewed-by: Andy Polyakov <appro@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/3564)
This commit is contained in:
parent
e3d378bcf1
commit
418bb7b31b
@ -19,7 +19,7 @@ use File::Basename;
|
|||||||
use if $^O ne "VMS", 'File::Glob' => qw/glob/;
|
use if $^O ne "VMS", 'File::Glob' => qw/glob/;
|
||||||
use Module::Load::Conditional qw(can_load);
|
use Module::Load::Conditional qw(can_load);
|
||||||
|
|
||||||
my $TAP_Harness = can_load({modules => [ 'TAP::Harness' ]})
|
my $TAP_Harness = can_load(modules => { 'TAP::Harness' => undef })
|
||||||
? 'TAP::Harness' : 'OpenSSL::TAP::Harness';
|
? 'TAP::Harness' : 'OpenSSL::TAP::Harness';
|
||||||
|
|
||||||
my $srctop = $ENV{SRCTOP} || $ENV{TOP};
|
my $srctop = $ENV{SRCTOP} || $ENV{TOP};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user