summaryrefslogtreecommitdiffstats
path: root/test/run_tests.pl
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2015-08-13 19:38:59 +0200
committerRichard Levitte <levitte@openssl.org>2015-09-07 16:10:58 +0200
commit25be5f44b81e1c45e15e689ba55713e455dfe624 (patch)
tree0d05388153f54bbe1331872baf3bc1effaa40ac8 /test/run_tests.pl
parentCheck the validity of MINFO (diff)
downloadopenssl-25be5f44b81e1c45e15e689ba55713e455dfe624.tar.xz
openssl-25be5f44b81e1c45e15e689ba55713e455dfe624.zip
Adapt the libssl test harness testing scripts to new testing framework
This involves adding $TOP/util as perl library in test/run_tests.pl. Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'test/run_tests.pl')
-rw-r--r--test/run_tests.pl4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/run_tests.pl b/test/run_tests.pl
index 746b0d192d..7e61282f16 100644
--- a/test/run_tests.pl
+++ b/test/run_tests.pl
@@ -10,15 +10,17 @@ use Test::Harness qw/runtests $switches/;
my $top = $ENV{TOP};
my $recipesdir = catdir($top, "test", "recipes");
my $testlib = catdir($top, "test", "testlib");
+my $utillib = catdir($top, "util");
# It seems that $switches is getting interpretted with 'eval' or something
# like that, and that we need to take care of backslashes or they will
# disappear along the way.
$testlib =~ s|\\|\\\\|g if $^O eq "MSWin32";
+$utillib =~ s|\\|\\\\|g if $^O eq "MSWin32";
# Test::Harness provides the variable $switches to give it
# switches to be used when it calls our recipes.
-$switches = "-w \"-I$testlib\"";
+$switches = "-w \"-I$testlib\" \"-I$utillib\"";
my @tests = ( "alltests" );
if (@ARGV) {