diff options
author | Rainer Jung <rainer.jung@kippdata.de> | 2017-05-25 23:58:14 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2017-05-26 11:26:23 +0200 |
commit | 0efb6d94cdc3bc10a30206b95c0621f399e0cc79 (patch) | |
tree | f852291c330893c57013eaf60c645a92bf4d3eae | |
parent | 4bdb8d346cf3645a821163bb57a0d01e86d09dce (diff) |
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)
(cherry picked from commit 418bb7b31bb7cfca6e419a5aa7bf161784f61059)
-rw-r--r-- | test/run_tests.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/run_tests.pl b/test/run_tests.pl index 148f2edc50..61fdff6398 100644 --- a/test/run_tests.pl +++ b/test/run_tests.pl @@ -19,7 +19,7 @@ use File::Basename; use if $^O ne "VMS", 'File::Glob' => qw/glob/; 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'; my $srctop = $ENV{SRCTOP} || $ENV{TOP}; |